Fix trpc URL
All checks were successful
Build / build (push) Successful in 1m10s

This commit is contained in:
Moritz Ruth 2025-03-03 00:47:13 +01:00
parent 88f0632194
commit b431d4098e
Signed by: moritzruth
GPG key ID: C9BBAB79405EE56D

View file

@ -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<AppRouter>({
links: [
wsLink({