summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-05-27 18:30:38 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-05-27 18:30:38 (GMT)
commit23098ce0b576b341e7c063913dbbb8e78f170e98 (patch)
tree0076ebd9633a5c2508b7e134da58cfd580c027da /www/js
parent0f2b77c646e0ec7efe023efd42670d2e1ca655d2 (diff)
ws:// vs. wss:// for clock.js
Diffstat (limited to 'www/js')
-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 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);