managed to screw up the checking of localhost

This commit is contained in:
Kasper Rynning-Tønnesen
2016-02-10 12:44:54 +01:00
parent c6e21b00b8
commit 0f83ce36d5
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -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);