Browse Source

Use environmental variables.

parisminton 8 years ago
parent
commit
c0767fbeea
1 changed files with 2 additions and 2 deletions
  1. 2 2
      settings/index.js

+ 2 - 2
settings/index.js View File

@@ -21,7 +21,7 @@ var path = require("path");
21 21
 module.exports = {
22 22
   workingDirectory: path.join(__dirname, "..", "tmp"),
23 23
   storagePath: "applications/audiogram/media",
24
-  s3Bucket: "int.stg.nyt.com",
24
+  s3Bucket: process.env.S3_BUCKETS_NAME,
25 25
   fonts: [
26 26
     { family: "Source Sans Pro", file: path.join(__dirname, "fonts", "SourceSansPro-Regular.ttf") },
27 27
     { family: "Source Sans Pro", file: path.join(__dirname, "fonts", "SourceSansPro-Light.ttf"), weight: 300 },
@@ -29,6 +29,6 @@ module.exports = {
29 29
     { family: "Source Sans Pro", file: path.join(__dirname, "fonts", "SourceSansPro-Italic.ttf"), style: "italic" },
30 30
     { family: "Source Sans Pro", file: path.join(__dirname, "fonts", "SourceSansPro-BoldItalic.ttf"), weight: "bold", style: "italic" }
31 31
   ],
32
-  redisHost: "redis.stg.newsdev.net",
32
+  redisHost: process.env.REDIS_URI,
33 33
   worker: true
34 34
 };