From b31ae097a4a38f37be92df979f3f541ec0139716 Mon Sep 17 00:00:00 2001 From: parisminton Date: Thu, 27 Apr 2017 16:06:13 -0400 Subject: [PATCH] Pass Redis credentials into createClient. --- lib/transports/redis/remote.js | 2 +- settings/themes.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/transports/redis/remote.js b/lib/transports/redis/remote.js index 84ef38f4..68bce6e4 100644 --- a/lib/transports/redis/remote.js +++ b/lib/transports/redis/remote.js @@ -6,7 +6,7 @@ module.exports = function(host) { // Prefix all keys to avoid collisions var prefix = "audiogram:"; - var client = redis.createClient({ host: host }); + var client = redis.createClient({ host: host, password: process.env.REDIS_PASSWORD }); client.on("error", function(err) { throw err; diff --git a/settings/themes.json b/settings/themes.json index 10e8fdcb..3a27e353 100644 --- a/settings/themes.json +++ b/settings/themes.json @@ -16,8 +16,8 @@ "captionRight": 1080 }, "NYT Light": { - "width": 1280, - "height": 320, + "width": 1000, + "height": 560, "pattern": "halfbars", "waveLeft": 20, "waveColor": "#d9d9d9",