diff options
Diffstat (limited to 'test-client/main.ts')
-rw-r--r-- | test-client/main.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-client/main.ts b/test-client/main.ts index 60a483d8..f6aa7e97 100644 --- a/test-client/main.ts +++ b/test-client/main.ts @@ -10,7 +10,7 @@ export let canvas: HTMLCanvasElement; let ws: WebSocket; document.addEventListener("DOMContentLoaded", () => { const ws_uri = window.location.protocol.endsWith("s:") - ? `wss://backend-${window.location.hostname}/` + ? `wss://${window.location.host}/` : `ws://${window.location.hostname}:27032/` ws = new WebSocket(ws_uri) ws.onerror = console.error |