mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Trying some sssl
This commit is contained in:
@@ -40,12 +40,13 @@ var seekTo;
|
||||
var song_title;
|
||||
|
||||
var connection_options = {
|
||||
'sync disconnect on unload':true
|
||||
'sync disconnect on unload':true,
|
||||
'secure': true
|
||||
};
|
||||
|
||||
if(window.location.hostname == "zoff.no") add = "dev.zoff.no";
|
||||
else add = "localhost";
|
||||
var socket = io.connect('http://'+add+':8880', connection_options);
|
||||
var socket = io.connect('//'+add+':8880', connection_options);
|
||||
socket.on("get_list", function(){
|
||||
socket.emit('list', chan.toLowerCase());
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user