mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
add socketTransportProtocols parameter
This commit is contained in:
parent
e9e4d65ad4
commit
8b044254cc
3 changed files with 17 additions and 2 deletions
|
@ -36,10 +36,10 @@ exports.expressCreateServer = function (hook_name, args, cb) {
|
|||
});
|
||||
});
|
||||
|
||||
// there shouldn#t be a browser that isn't compatible to all
|
||||
// there shouldn't be a browser that isn't compatible to all
|
||||
// transports in this list at once
|
||||
// e.g. XHR is disabled in IE by default, so in IE it should use jsonp-polling
|
||||
io.set('transports', ['xhr-polling', 'jsonp-polling', 'htmlfile']);
|
||||
io.set('transports', settings.socketTransportProtocols );
|
||||
|
||||
var socketIOLogger = log4js.getLogger("socket.io");
|
||||
io.set('logger', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue