summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-03-23 18:39:12 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-03-23 18:39:12 (GMT)
commit887f5d6049189554449249f85338d45322baef06 (patch)
treeaf613b31931343689e23543cec48cd88edb8d794
parent0bea85bab40c33908dedfcedcbe8742e15469b34 (diff)
switch to unsecure websockets for now
-rw-r--r--www/js/clock.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/clock.js b/www/js/clock.js
index cd6b6ce..a99b5f8 100644
--- a/www/js/clock.js
+++ b/www/js/clock.js
@@ -84,7 +84,7 @@ function Clock() {
}
this.connect = function() {
- this.sock = new WebSocket('wss://' + window.location.host + '/ntp');
+ this.sock = new WebSocket('ws://' + window.location.host + '/ntp');
this.sock.onmessage = this.ntp_update.bind(this);
this.sock.onopen = this.sock_onopen.bind(this);
this.sock.onclose = this.sock_onclose.bind(this);