Fixed server url
This commit is contained in:
parent
491483a71f
commit
47d6717815
|
|
@ -26,7 +26,7 @@ function getBaseUrl() {
|
|||
export const trpcClient: TRPCClient<AppRouter> = trpc.createClient({
|
||||
links: [
|
||||
httpBatchLink({
|
||||
url: `${getBaseUrl()}/api/trpc`,
|
||||
url: `${getBaseUrl()}/trpc`,
|
||||
// Optional: add headers, credentials, etc.
|
||||
// headers() {
|
||||
// return {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user