Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Pass Redis credentials into createClient.
Browse files Browse the repository at this point in the history
  • Loading branch information
parisminton committed Apr 27, 2017
1 parent db7d0bf commit b31ae09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/transports/redis/remote.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions settings/themes.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"captionRight": 1080
},
"NYT Light": {
"width": 1280,
"height": 320,
"width": 1000,
"height": 560,
"pattern": "halfbars",
"waveLeft": 20,
"waveColor": "#d9d9d9",
Expand Down

0 comments on commit b31ae09

Please sign in to comment.