fix: relative path for trpc client
This commit is contained in:
@@ -35,7 +35,7 @@ function initializeTrpcClient() {
|
|||||||
/**
|
/**
|
||||||
* This is locally in Next.js
|
* 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