From 887f5d6049189554449249f85338d45322baef06 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 23 Mar 2016 19:39:12 +0100 Subject: switch to unsecure websockets for now 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); -- cgit v0.10.2