This commit is contained in:
parent
88f0632194
commit
b431d4098e
1 changed files with 0 additions and 4 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Reference in a new issue