Skip to content

Commit

Permalink
Revert changing client trpc url
Browse files Browse the repository at this point in the history
  • Loading branch information
jotjern committed Jan 29, 2025
1 parent 222af54 commit b1f8201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/utils/trpc/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const trpcConfig: CreateTRPCClientOptions<AppRouter> = {
env.NEXT_PUBLIC_ORIGIN === "development" || (opts.direction === "down" && opts.result instanceof Error),
}),
httpBatchLink({
url: `${env.RPC_HOST}/api/trpc`,
url: `${env.NEXT_PUBLIC_ORIGIN}/api/trpc`,
async fetch(url, options) {
return fetch(url, {
...options,
Expand Down

0 comments on commit b1f8201

Please sign in to comment.