use socket.io default and ["polling", "websocket"]

This commit is contained in:
barisusakli
2014-12-25 14:13:54 -05:00
parent 1cbf5ddfe9
commit e0edb71a8a
2 changed files with 2 additions and 2 deletions

View File

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