Luigi commited on
Commit
7d4a05c
·
1 Parent(s): 20d7e99

re-enable https

Browse files
Files changed (1) hide show
  1. app/static/index.html +1 -1
app/static/index.html CHANGED
@@ -201,7 +201,7 @@
201
  updateModelInfo();
202
 
203
  // Now that we know the sample rate, open the WS
204
- ws = new WebSocket(`ws://${location.host}/ws`);
205
  ws.onopen = () => sendConfig();
206
  ws.onerror = err => console.error("WebSocket error:", err);
207
  ws.onclose = () => console.log("WebSocket closed");
 
201
  updateModelInfo();
202
 
203
  // Now that we know the sample rate, open the WS
204
+ ws = new WebSocket(`wss://${location.host}/ws`);
205
  ws.onopen = () => sendConfig();
206
  ws.onerror = err => console.error("WebSocket error:", err);
207
  ws.onclose = () => console.log("WebSocket closed");