mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Made minor improvements to connection_options
This commit is contained in:
4
public/dist/embed.min.js
vendored
4
public/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
2
public/dist/main.min.js
vendored
2
public/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -359,11 +359,6 @@ function initfp(){
|
|||||||
|
|
||||||
share_link_modifier_frontpage();
|
share_link_modifier_frontpage();
|
||||||
|
|
||||||
var connection_options = {
|
|
||||||
'secure': true,
|
|
||||||
'force new connection': true
|
|
||||||
};
|
|
||||||
|
|
||||||
if(window.location.hostname == "zoff.no") add = "https://zoff.no";
|
if(window.location.hostname == "zoff.no") add = "https://zoff.no";
|
||||||
else add = window.location.hostname;
|
else add = window.location.hostname;
|
||||||
if(socket === undefined || Helper.mobilecheck()) socket = io.connect(''+add+':8080', connection_options);
|
if(socket === undefined || Helper.mobilecheck()) socket = io.connect(''+add+':8080', connection_options);
|
||||||
|
|||||||
Reference in New Issue
Block a user