mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
use socket.io with jsonp-polling. several browsers tested. fixes IE8 issues
This commit is contained in:
parent
da30c8983a
commit
e82588c332
1 changed files with 7 additions and 4 deletions
|
@ -26,10 +26,13 @@ exports.expressCreateServer = function (hook_name, args, cb) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// the following has been successfully tested with the following browsers
|
||||||
//this is only a workaround to ensure it works with all browers behind a proxy
|
// works also behind reverse proxy
|
||||||
//we should remove this when the new socket.io version is more stable
|
// Firefox 14.0.1
|
||||||
io.set('transports', ['htmlfile','xhr-polling']);
|
// IE8 with Native XMLHTTP support
|
||||||
|
// IE8 without Native XMLHTTP support
|
||||||
|
// Chrome 21.0.1180.79
|
||||||
|
io.set('transports', ['jsonp-polling']);
|
||||||
|
|
||||||
var socketIOLogger = log4js.getLogger("socket.io");
|
var socketIOLogger = log4js.getLogger("socket.io");
|
||||||
io.set('logger', {
|
io.set('logger', {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue