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