Small tweaks

This commit is contained in:
Michael Jackson
2018-04-03 22:32:32 -07:00
parent 7a9dfd2260
commit fac3f4c5be
9 changed files with 33 additions and 29 deletions

View File

@ -2,11 +2,11 @@ const redis = require("redis");
redis.debug_mode = process.env.DEBUG_REDIS != null;
const RedisURL =
const redisURL =
process.env.OPENREDIS_URL ||
process.env.REDIS_URL ||
"redis://localhost:6379";
const client = redis.createClient(RedisURL);
const client = redis.createClient(redisURL);
module.exports = client;