mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed remote for https://
This commit is contained in:
@@ -9,7 +9,11 @@ window.mobilecheck = function() {
|
||||
$(document).ready(function (){
|
||||
document.title = "Zöff Remote";
|
||||
setTimeout(function(){$("#search").focus();},500);
|
||||
socket = io.connect('//'+window.location.hostname+':8880');
|
||||
var connection_options = {
|
||||
'sync disconnect on unload':true,
|
||||
'secure': true
|
||||
};
|
||||
socket = io.connect('https://zoff.no:8880', connection_options);
|
||||
id = window.location.pathname.split("/")[1];
|
||||
if(id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user