commit 9be9d856b043d7ae156be1f7bbaabbe1d823b3ce
parent 58c0e27bcc25e438a0bd37d880230ec8a8a71be1
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 26 Mar 2016 12:07:35 +0100
[DEBUG] socket client side has bug
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/web/theme/index.html b/web/theme/index.html
@@ -168,6 +168,8 @@
e.preventDefault();
$("#wrapper").toggleClass("toggled");
});
+ console.warn(location.protocol);
+ console.warn(location.hostname);
var ws = location.protocol+location.hostname+(location.port ? ':'+location.port: '');
var socket = io(ws);
$(document).off('click', '#restart').on('click', '#restart', function (e) {