mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
Merge pull request #958 from Wikinaut/fix-ie8-native-xmlhttp-support-disabled-issues
Fix ie8 native xmlhttp support disabled issues
This commit is contained in:
commit
de7934d9fb
3 changed files with 8 additions and 13 deletions
|
@ -26,10 +26,13 @@ exports.expressCreateServer = function (hook_name, args, cb) {
|
|||
});
|
||||
});
|
||||
|
||||
|
||||
//this is only a workaround to ensure it works with all browers behind a proxy
|
||||
//we should remove this when the new socket.io version is more stable
|
||||
io.set('transports', ['xhr-polling']);
|
||||
// the following has been successfully tested with the following browsers
|
||||
// works also behind reverse proxy
|
||||
// Firefox 14.0.1
|
||||
// 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");
|
||||
io.set('logger', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue