Skip to content

Commit

Permalink
fix: disable trpc batching
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongliang02 committed Jan 20, 2025
1 parent 219a1f2 commit 2ee1d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/api/trpc/[trpc].ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default trpcNext.createNextApiHandler({
* Enable query batching
*/
batching: {
enabled: true,
enabled: false,
},
/**
* @link https://trpc.io/docs/caching#api-response-caching
Expand Down

0 comments on commit 2ee1d05

Please sign in to comment.