From df026dd466490ec1cc1d24e58474646009fca660 Mon Sep 17 00:00:00 2001 From: Daniel Bulant Date: Fri, 20 Jan 2023 19:44:47 +0100 Subject: [PATCH] update wss address --- client/src/lib/websocket.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/lib/websocket.ts b/client/src/lib/websocket.ts index cd22ba5..e540dcf 100644 --- a/client/src/lib/websocket.ts +++ b/client/src/lib/websocket.ts @@ -22,7 +22,7 @@ export class WebsocketConnection extends EventTarget { } connect() { - const host = location.hostname.includes("danbulant.eu") ? "wss://multidie.danbulant.cloud" : "ws://" + location.hostname + ":8080"; + const host = location.hostname.includes("danbulant.eu") ? "wss://tictactoe.danbulant.cloud" : "ws://" + location.hostname + ":8080"; this.ws = new WebSocket(host + "/?name=" + encodeURIComponent(this.name)); this.ws.addEventListener("open", (e) => { console.log("WS ready");