pass config object into NetfluxServer

pull/1/head
ansuz 9 years ago
parent 061cffe462
commit d59824929d

@ -81,6 +81,6 @@ if (config.websocketPort !== config.httpPort) {
var wsSrv = new WebSocketServer(wsConfig); var wsSrv = new WebSocketServer(wsConfig);
Storage.create(config, function (store) { Storage.create(config, function (store) {
console.log('DB connected'); console.log('DB connected');
NetfluxSrv.run(store, wsSrv); NetfluxSrv.run(store, wsSrv, config);
WebRTCSrv.run(wsSrv); WebRTCSrv.run(wsSrv);
}); });

Loading…
Cancel
Save