Use ES6 string interpolation

This commit is contained in:
AlexKvazos
2015-05-01 12:01:21 -05:00
parent 06b4989a57
commit 6ee4de3920
5 changed files with 38 additions and 27 deletions
+4 -1
View File
@@ -25,7 +25,10 @@ var io = socketio(server);
// setup socket.io-redis if connection variables are set
if (process.env.REDIS_HOST && process.env.REDIS_PORT) {
io.adapter(redis({ host: process.env.REDIS_HOST, port: process.env.REDIS_PORT }));
io.adapter(redis({
host: process.env.REDIS_HOST,
port: process.env.REDIS_PORT
}));
}