fix: relative path for trpc client

This commit is contained in:
Christel Westerberg
2024-05-23 15:29:18 +02:00
parent e853f3980a
commit d0133bf2e8

View File

@@ -35,7 +35,7 @@ function initializeTrpcClient() {
/**
* This is locally in Next.js
*/
url: `http://localhost:${env.NEXT_PUBLIC_PORT}/api/web/trpc`,
url: `/api/web/trpc`,
}),
],
})