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({