From 9b82a6725ad52424bed4b9f61601f8c2e2a75ae2 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 19 Jun 2024 00:24:51 +0200 Subject: a --- test-client/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test-client/main.ts') 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 -- cgit v1.2.3-70-g09d2