Trying new way of connecting to socketio

This commit is contained in:
Kasper Rynning-Tønnesen
2017-03-02 21:36:39 +01:00
parent c8901a7c1b
commit 835ffb7f39
7 changed files with 12 additions and 12 deletions

View File

@@ -385,7 +385,7 @@ function initfp(){
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") add = "https://socket.zoff.me";
else add = window.location.hostname;
if(socket === undefined || Helper.mobilecheck()) socket = io.connect(''+add+':8080', connection_options);
if($("#alreadyfp").length === 0 || Helper.mobilecheck() || !socket._callbacks.$playlists){