From 1c67eea2f0f313801c49b44038ef0a8893c57b89 Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Wed, 7 Jun 2017 16:46:48 -0700 Subject: [PATCH] use redis host from config --- server/storage.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/storage.js b/server/storage.js index 2b72cb9c..28b1c8ba 100644 --- a/server/storage.js +++ b/server/storage.js @@ -8,7 +8,9 @@ const fetch = require('node-fetch'); const crypto = require('crypto'); const redis = require('redis'); -const redis_client = redis.createClient(); +const redis_client = redis.createClient({ + host: conf.redis_host +}); redis_client.on('error', err => { console.log(err);