diff --git a/controllers/scriptStorage.js b/controllers/scriptStorage.js index 73fbbcc93..35d70b9b9 100644 --- a/controllers/scriptStorage.js +++ b/controllers/scriptStorage.js @@ -22,7 +22,7 @@ if (isPro) { } else { // You need to install (and ruby too): https://github.com/jubos/fake-s3 // Then run the fakes3.sh script or: fakes3 -r fakeS3 -p 10001 - var DEV_AWS_URL = process.env.DEV_AWS_URL || 'localhost:10001'; + var DEV_AWS_URL = process.env.DEV_AWS_URL || 'http://localhost:10001'; AWS.config.update({ accessKeyId: 'fakeId', secretAccessKey: 'fakeKey', diff --git a/package.json b/package.json index e1abed18c..004843282 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "postinstall": "node dev/init.js" }, "engines": { - "node": ">=0.10.32 <0.11.0", + "node": ">=0.10.32 <0.11.0 || >=0.12.0 <=0.12.2", "npm": ">=1.4.28" }, "private": true