diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index e283959..84a7932 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -39,11 +39,10 @@ const pubtest = new Redis({ //import { createAdapter } from 'socket.io-redis'; const createAdapter = require('socket.io-redis'); -//import { RedisClient } from 'redis'; -//const RedisClient = require("redis"); -const Redis = require("ioredis"); -//const pubClient = RedisClient.createClient({ -const pubClient = new Redis({ +const RedisClient = require("redis"); +//const Redis = require("ioredis"); +const pubClient = RedisClient.createClient({ +//const pubClient = new Redis({ host: 'redisserver', port: 6379, });