Merged in fix/trpc-link (pull request #202)

fix: relative path for trpc client

Approved-by: Michael Zetterberg
This commit is contained in:
Christel Westerberg
2024-05-23 14:00:47 +00:00
committed by Michael Zetterberg

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`,
}),
],
})