mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Making changes for cloudflare
This commit is contained in:
@@ -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());
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user