Making changes for cloudflare

This commit is contained in:
Kasper Rynning-Tønnesen
2015-09-09 12:21:56 +02:00
parent c1de384677
commit 337d191a60

View File

@@ -43,7 +43,7 @@ var connection_options = {
'sync disconnect on unload':true 'sync disconnect on unload':true
}; };
var socket = io.connect('https://'+window.location.hostname+':2083', connection_options); var socket = io.connect('http://'+window.location.hostname+':2083', connection_options);
socket.on("get_list", function(){ socket.on("get_list", function(){
socket.emit('list', chan.toLowerCase()); socket.emit('list', chan.toLowerCase());
}); });