ソースを参照

Pass Redis credentials into createClient.

parisminton 8 年 前
コミット
b31ae097a4
共有2 個のファイルを変更した3 個の追加3 個の削除を含む
  1. 1 1
      lib/transports/redis/remote.js
  2. 2 2
      settings/themes.json

+ 1 - 1
lib/transports/redis/remote.js ファイルの表示

6
   // Prefix all keys to avoid collisions
6
   // Prefix all keys to avoid collisions
7
   var prefix = "audiogram:";
7
   var prefix = "audiogram:";
8
 
8
 
9
-  var client = redis.createClient({ host: host });
9
+  var client = redis.createClient({ host: host, password: process.env.REDIS_PASSWORD });
10
 
10
 
11
   client.on("error", function(err) {
11
   client.on("error", function(err) {
12
     throw err;
12
     throw err;

+ 2 - 2
settings/themes.json ファイルの表示

16
     "captionRight": 1080
16
     "captionRight": 1080
17
   },
17
   },
18
   "NYT Light": {
18
   "NYT Light": {
19
-    "width": 1280,
20
-    "height": 320,
19
+    "width": 1000,
20
+    "height": 560,
21
     "pattern": "halfbars",
21
     "pattern": "halfbars",
22
     "waveLeft": 20,
22
     "waveLeft": 20,
23
     "waveColor": "#d9d9d9",
23
     "waveColor": "#d9d9d9",