Browse Source

Pass Redis credentials into createClient.

parisminton 8 years ago
parent
commit
b31ae097a4
2 changed files with 3 additions and 3 deletions
  1. 1 1
      lib/transports/redis/remote.js
  2. 2 2
      settings/themes.json

+ 1 - 1
lib/transports/redis/remote.js View File

@@ -6,7 +6,7 @@ module.exports = function(host) {
6 6
   // Prefix all keys to avoid collisions
7 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 11
   client.on("error", function(err) {
12 12
     throw err;

+ 2 - 2
settings/themes.json View File

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