Trying always https

This commit is contained in:
Kasper Rynning-Tønnesen
2015-11-27 15:23:11 +01:00
parent 03fa9b2292
commit ee95896e2f
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ var connection_options = {
if(window.location.hostname == "zoff.no") add = "dev.zoff.no";
else add = "localhost";
var socket = io.connect('//'+add+':8880', connection_options);
var socket = io.connect('https://'+add+':8880', connection_options);
socket.on("get_list", function(){
socket.emit('list', chan.toLowerCase());
});