Use only xhr polling
parent
58c50302f1
commit
fb0968d020
|
@ -153,6 +153,10 @@ async.waterfall([
|
||||||
//init socket.io and redirect all requests to the MessageHandler
|
//init socket.io and redirect all requests to the MessageHandler
|
||||||
var io = socketio.listen(app);
|
var io = socketio.listen(app);
|
||||||
|
|
||||||
|
//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']);
|
||||||
|
|
||||||
var padMessageHandler = require("./PadMessageHandler");
|
var padMessageHandler = require("./PadMessageHandler");
|
||||||
var timesliderMessageHandler = require("./TimesliderMessageHandler");
|
var timesliderMessageHandler = require("./TimesliderMessageHandler");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue