diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-05-27 18:30:38 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-05-27 18:30:38 (GMT) |
commit | 23098ce0b576b341e7c063913dbbb8e78f170e98 (patch) | |
tree | 0076ebd9633a5c2508b7e134da58cfd580c027da /www | |
parent | 0f2b77c646e0ec7efe023efd42670d2e1ca655d2 (diff) |
ws:// vs. wss:// for clock.js
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 a2b0628..d62acff 100644 --- a/www/js/clock.js +++ b/www/js/clock.js @@ -84,7 +84,7 @@ function Clock() { } this.connect = function() { - this.sock = new WebSocket('ws://' + window.location.host + '/ntp'); + this.sock = new WebSocket('wss://' + 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); |