Spaces:
Running
Running
re-enable https
Browse files- 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(`
|
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");
|