mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
closes #2532
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user