diff options
author | Wikinaut <mail@tgries.de> | 2012-12-02 18:28:28 +0100 |
---|---|---|
committer | Wikinaut <mail@tgries.de> | 2012-12-02 18:28:28 +0100 |
commit | 8b044254cc4d6c5413b6426d0cd13b4b44c04e6f (patch) | |
tree | 30f6a037f0ce0e416a799fe673d0b45226ea2773 /src/node/hooks/express/socketio.js | |
parent | e9e4d65ad46b5b222a4117c2efb1225422f68650 (diff) | |
download | etherpad-lite-8b044254cc4d6c5413b6426d0cd13b4b44c04e6f.zip |
add socketTransportProtocols parameter
Diffstat (limited to 'src/node/hooks/express/socketio.js')
-rw-r--r-- | src/node/hooks/express/socketio.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node/hooks/express/socketio.js b/src/node/hooks/express/socketio.js index c2b9ff6c..524bab3d 100644 --- a/src/node/hooks/express/socketio.js +++ b/src/node/hooks/express/socketio.js @@ -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', { |