diff options
| author | metamuffin <metamuffin@disroot.org> | 2024-06-19 00:24:51 +0200 | 
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2024-06-23 19:21:22 +0200 | 
| commit | 9b82a6725ad52424bed4b9f61601f8c2e2a75ae2 (patch) | |
| tree | 49028ca14325c85b9c9ce80d12d1652a21979ac0 /test-client | |
| parent | 354a19b76b71a39b047e89df729f7d8a98e1b528 (diff) | |
| download | hurrycurry-9b82a6725ad52424bed4b9f61601f8c2e2a75ae2.tar hurrycurry-9b82a6725ad52424bed4b9f61601f8c2e2a75ae2.tar.bz2 hurrycurry-9b82a6725ad52424bed4b9f61601f8c2e2a75ae2.tar.zst | |
a
Diffstat (limited to 'test-client')
| -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 | 
