diff --git a/server.js b/server.js index 819480fcf..0b963f730 100644 --- a/server.js +++ b/server.js @@ -81,6 +81,6 @@ if (config.websocketPort !== config.httpPort) { var wsSrv = new WebSocketServer(wsConfig); Storage.create(config, function (store) { console.log('DB connected'); - NetfluxSrv.run(store, wsSrv); + NetfluxSrv.run(store, wsSrv, config); WebRTCSrv.run(wsSrv); });