acumplid
commited on
Commit
·
b61aaee
1
Parent(s):
298b557
adapted websocket variable
Browse files
whisperlivekit/web/live_transcription.html
CHANGED
|
@@ -322,7 +322,8 @@
|
|
| 322 |
const host = window.location.hostname || "localhost";
|
| 323 |
const port = window.location.port || "8000";
|
| 324 |
// const defaultWebSocketUrl = `ws://${host}:${port}/asr`;
|
| 325 |
-
const defaultWebSocketUrl = `wss://${host}/asr`;
|
|
|
|
| 326 |
websocketInput.value = defaultWebSocketUrl;
|
| 327 |
websocketUrl = defaultWebSocketUrl;
|
| 328 |
|
|
|
|
| 322 |
const host = window.location.hostname || "localhost";
|
| 323 |
const port = window.location.port || "8000";
|
| 324 |
// const defaultWebSocketUrl = `ws://${host}:${port}/asr`;
|
| 325 |
+
// const defaultWebSocketUrl = `wss://${host}/asr`;
|
| 326 |
+
const defaultWebSocketUrl = `ws://${host}:${port}/asr`;
|
| 327 |
websocketInput.value = defaultWebSocketUrl;
|
| 328 |
websocketUrl = defaultWebSocketUrl;
|
| 329 |
|