diff options
-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 23bf4052..e19f8192 100644 --- a/test-client/main.ts +++ b/test-client/main.ts @@ -12,7 +12,7 @@ let canvas: HTMLCanvasElement; let ws: WebSocket; document.addEventListener("DOMContentLoaded", () => { const ws_uri = window.location.protocol.endsWith("s:") - ? `wss://game.${window.location.hostname}/` + ? `wss://backend-${window.location.hostname}/` : `ws://${window.location.hostname}:27032/` ws = new WebSocket(ws_uri) ws.onerror = console.error |