Spaces:
Running
Running
enable https
Browse files- app/static/index.html +1 -1
app/static/index.html
CHANGED
@@ -145,7 +145,7 @@
|
|
145 |
};
|
146 |
|
147 |
let orig_sample_rate;
|
148 |
-
const ws = new WebSocket("
|
149 |
|
150 |
const vol = document.getElementById("vol");
|
151 |
const partial = document.getElementById("partial");
|
|
|
145 |
};
|
146 |
|
147 |
let orig_sample_rate;
|
148 |
+
const ws = new WebSocket("wss://" + location.host + "/ws");
|
149 |
|
150 |
const vol = document.getElementById("vol");
|
151 |
const partial = document.getElementById("partial");
|