mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
Update trpc endpoint path from '/api/trpc' to '/trpc'
This commit is contained in:
@@ -22,7 +22,7 @@ export const queryClient = new QueryClient({
|
||||
const trpcClient = createTRPCClient<AppRouter>({
|
||||
links: [
|
||||
httpBatchLink({
|
||||
url: `${process.env.NEXT_PUBLIC_SERVER_URL}/api/trpc`,
|
||||
url: `${process.env.NEXT_PUBLIC_SERVER_URL}/trpc`,
|
||||
}),
|
||||
],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user