Use only xhr polling

This commit is contained in:
Peter 'Pita' Martischka 2011-07-05 19:26:31 +02:00 committed by Pita Poison
parent 58c50302f1
commit fb0968d020
1 changed files with 4 additions and 0 deletions

View File

@ -153,6 +153,10 @@ async.waterfall([
//init socket.io and redirect all requests to the MessageHandler
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 timesliderMessageHandler = require("./TimesliderMessageHandler");