ソースを参照

Use environmental variables.

parisminton 8 年 前
コミット
c0767fbeea
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2 2
      settings/index.js

+ 2 - 2
settings/index.js ファイルの表示

@@ -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
 };