Skip to content

Commit e1de7eb

Browse files
committed
http download no longer working, use https
1 parent 5c0dfbe commit e1de7eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dynamodb/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"setup": {
3-
"download_url": "http://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.tar.gz",
3+
"download_url": "https://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.tar.gz",
44
"install_path": "bin",
55
"jar": "DynamoDBLocal.jar"
66
},

dynamodb/installer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
var tar = require("tar"),
44
zlib = require("zlib"),
55
path = require("path"),
6-
http = require("http"),
6+
https = require("https"),
77
fs = require("fs"),
88
ProgressBar = require("progress"),
99
utils = require("./utils");
@@ -12,7 +12,7 @@ var download = function(downloadUrl, installPath, callback) {
1212
console.log(
1313
`Started downloading dynamodb-local from ${downloadUrl} into ${installPath}. Process may take few minutes.`
1414
);
15-
http
15+
https
1616
.get(downloadUrl, function(response) {
1717
var len = parseInt(response.headers["content-length"], 10),
1818
bar = new ProgressBar(

0 commit comments

Comments
 (0)