From d59824929d71d360f3281db174d8a941133af02f Mon Sep 17 00:00:00 2001 From: ansuz Date: Sat, 14 May 2016 12:52:34 +0200 Subject: [PATCH] pass config object into NetfluxServer --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); });