Remove SSL, serve static index.html
This commit is contained in:
@@ -120,7 +120,7 @@
|
||||
this.psi.set(0); // set actual value
|
||||
|
||||
// Set up websocket connection
|
||||
this.sock = new WebSocket("wss://" + window.location.hostname + "/ws/");
|
||||
this.sock = new WebSocket("ws://" + window.location.hostname + ":9888/ws/");
|
||||
this.sock.addEventListener('open', this.gotWsOpen );
|
||||
this.sock.addEventListener('message', this.gotWsMessage);
|
||||
this.sock.addEventListener('error', this.gotWsError);
|
||||
|
Reference in New Issue
Block a user