Changed preferred connectiontype

This commit is contained in:
Kasper Rynning-Tønnesen
2015-07-07 17:05:42 +02:00
parent 7c76d0ed47
commit cc72ecd57d
2 changed files with 3 additions and 4 deletions

View File

@@ -37,8 +37,7 @@ var began = false;
var id;
var connection_options = {
'sync disconnect on unload':true,
transports: ['websocket', 'xhr-polling', 'polling', 'htmlfile', 'flashsocket']
'sync disconnect on unload':true
};
var socket = io.connect('//'+window.location.hostname+':3000', connection_options);