mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Adminpanel now connects to current domain instead of zoff.me
This commit is contained in:
@@ -3,7 +3,7 @@ var connection_options = {
|
|||||||
'secure': true,
|
'secure': true,
|
||||||
'force new connection': 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(){
|
$(document).ready(function(){
|
||||||
$('ul.tabs').tabs();
|
$('ul.tabs').tabs();
|
||||||
|
|||||||
Reference in New Issue
Block a user