diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-03-23 18:39:12 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-03-23 18:39:12 (GMT) |
commit | 887f5d6049189554449249f85338d45322baef06 (patch) | |
tree | af613b31931343689e23543cec48cd88edb8d794 /www | |
parent | 0bea85bab40c33908dedfcedcbe8742e15469b34 (diff) |
switch to unsecure websockets for now
Diffstat (limited to 'www')
-rw-r--r-- | www/js/clock.js | 2 |
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); |