mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
managed to screw up the checking of localhost
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
@@ -60,7 +60,7 @@ function init(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
chan = $("#chan").html();
|
chan = $("#chan").html();
|
||||||
if(window.location._name == "zoff.no") add = "https://zoff.no";
|
if(window.location.name == "zoff.no") add = "https://zoff.no";
|
||||||
else add = "localhost";
|
else add = "localhost";
|
||||||
socket = io.connect(''+add+':8880', connection_options);
|
socket = io.connect(''+add+':8880', connection_options);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user