mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-09-23 00:13:22 +00:00
Fixed issue with fb.zoff.me not being able to connect
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
@@ -407,7 +407,7 @@ function initfp(){
|
|||||||
|
|
||||||
if(window.location.hostname != "fb.zoff.me") share_link_modifier_frontpage();
|
if(window.location.hostname != "fb.zoff.me") share_link_modifier_frontpage();
|
||||||
|
|
||||||
if(window.location.hostname == "zoff.me") add = "https://zoff.me";
|
if(window.location.hostname == "zoff.me" || window.location.hostname == "fb.zoff.me") add = "https://zoff.me";
|
||||||
else add = window.location.hostname;
|
else add = window.location.hostname;
|
||||||
if(socket === undefined || Helper.mobilecheck() || user_auth_avoid) {
|
if(socket === undefined || Helper.mobilecheck() || user_auth_avoid) {
|
||||||
socket = io.connect(''+add+':8080', connection_options);
|
socket = io.connect(''+add+':8080', connection_options);
|
||||||
|
|||||||
@@ -206,7 +206,7 @@ function init(){
|
|||||||
};
|
};
|
||||||
|
|
||||||
if(window.location.hostname != "fb.zoff.me") share_link_modifier_channel();
|
if(window.location.hostname != "fb.zoff.me") share_link_modifier_channel();
|
||||||
if(window.location.hostname == "zoff.me") add = "https://zoff.me";
|
if(window.location.hostname == "zoff.me" || window.location.hostname == "fb.zoff.me") add = "https://zoff.me";
|
||||||
else add = window.location.hostname;
|
else add = window.location.hostname;
|
||||||
|
|
||||||
if(Player !== undefined) Player.stopInterval= false;
|
if(Player !== undefined) Player.stopInterval= false;
|
||||||
|
|||||||
Reference in New Issue
Block a user