Made minor improvements to connection_options

This commit is contained in:
Kasper Rynning-Tønnesen
2017-01-27 23:39:02 +01:00
parent 303849ea43
commit 2f8e2f285b
3 changed files with 3 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -359,11 +359,6 @@ function initfp(){
share_link_modifier_frontpage();
var connection_options = {
'secure': true,
'force new connection': true
};
if(window.location.hostname == "zoff.no") add = "https://zoff.no";
else add = window.location.hostname;
if(socket === undefined || Helper.mobilecheck()) socket = io.connect(''+add+':8080', connection_options);