This commit is contained in:
barisusakli
2014-12-17 18:18:53 -05:00
parent 2423bd18eb
commit 7ec8393004
3 changed files with 3 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ Sockets.init = function(server) {
io.on('connection', onConnection);
io.listen(server, {
transports: ['websocket', 'polling']
transports: nconf.get('socketioTransports') || ['websocket', 'polling']
});
Sockets.server = io;