mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Trying always https
This commit is contained in:
2
static/dist/main.min.js
vendored
2
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -46,7 +46,7 @@ var connection_options = {
|
|||||||
|
|
||||||
if(window.location.hostname == "zoff.no") add = "dev.zoff.no";
|
if(window.location.hostname == "zoff.no") add = "dev.zoff.no";
|
||||||
else add = "localhost";
|
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.on("get_list", function(){
|
||||||
socket.emit('list', chan.toLowerCase());
|
socket.emit('list', chan.toLowerCase());
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user