mirror of
https://github.com/QuentinFuxa/WhisperLiveKit.git
synced 2026-05-02 03:46:17 +00:00
fix port for WS link; use correct HF build arg
This commit is contained in:
@@ -321,7 +321,7 @@
|
||||
const timerElement = document.querySelector(".timer");
|
||||
|
||||
const host = window.location.hostname || "localhost";
|
||||
const port = window.location.port || "8000";
|
||||
const port = window.location.port;
|
||||
const protocol = window.location.protocol === "https:" ? "wss" : "ws";
|
||||
const defaultWebSocketUrl = `${protocol}://${host}:${port}/asr`;
|
||||
websocketInput.value = defaultWebSocketUrl;
|
||||
|
||||
Reference in New Issue
Block a user