Merged in fix/trpc-link (pull request #202)
fix: relative path for trpc client Approved-by: Michael Zetterberg
This commit is contained in:
@@ -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`,
|
||||
}),
|
||||
],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user