diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 590f50f..64ef898 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -11,7 +11,7 @@ const createAdapter = require('socket.io-redis'); //import { RedisClient } from 'redis'; const RedisClient = require("redis"); //const pubClient = redis.createClient({ host: 'localhost', port: 6379 } ); -const pubClient = redis.createClient(); +const pubClient = RedisClient.createClient(); //const pubClient = new RedisClient({ host: 'localhost', port: 6379 }); const subClient = pubClient.duplicate();