From b431d4098e51b5eff842f8376eec11be60a3a307 Mon Sep 17 00:00:00 2001 From: Moritz Ruth Date: Mon, 3 Mar 2025 00:47:13 +0100 Subject: [PATCH] Fix trpc URL --- frontend/trpc.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frontend/trpc.ts b/frontend/trpc.ts index 7d4c430..bb3ac2e 100644 --- a/frontend/trpc.ts +++ b/frontend/trpc.ts @@ -7,10 +7,6 @@ wsUrl.protocol = wsUrl.protocol.replace("http", "ws") wsUrl.pathname = "/ws" wsUrl.hash = "" -if (import.meta.env.PROD) { - wsUrl.hostname = "backend." + wsUrl.hostname -} - export const trpcClient = createTRPCProxyClient({ links: [ wsLink({