Adminpanel now connects to current domain instead of zoff.me

This commit is contained in:
Kasper Rynning-Tønnesen
2018-02-26 14:31:01 +01:00
parent e623e067ac
commit c341edc33a

View File

@@ -3,7 +3,7 @@ var connection_options = {
'secure': true,
'force new connection': true
};
var socket = io.connect('https://zoff.me:8080', connection_options);
var socket = io.connect(window.location.protocol + '//' + window.location.hostname + ':8080', connection_options);
$(document).ready(function(){
$('ul.tabs').tabs();