temporarily disable batching (#1197)
This commit is contained in:
		
							parent
							
								
									5b3dd02747
								
							
						
					
					
						commit
						58f55f84e2
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -7,7 +7,7 @@ import { seoConfig } from "@lib/config/next-seo.config"; | ||||||
| import I18nLanguageHandler from "@components/I18nLanguageHandler"; | import I18nLanguageHandler from "@components/I18nLanguageHandler"; | ||||||
| 
 | 
 | ||||||
| import type { AppRouter } from "@server/routers/_app"; | import type { AppRouter } from "@server/routers/_app"; | ||||||
| import { httpBatchLink } from "@trpc/client/links/httpBatchLink"; | import { httpLink } from "@trpc/client/links/httpLink"; | ||||||
| import { loggerLink } from "@trpc/client/links/loggerLink"; | import { loggerLink } from "@trpc/client/links/loggerLink"; | ||||||
| import { withTRPC } from "@trpc/next"; | import { withTRPC } from "@trpc/next"; | ||||||
| import type { TRPCClientErrorLike } from "@trpc/react"; | import type { TRPCClientErrorLike } from "@trpc/react"; | ||||||
|  | @ -44,7 +44,7 @@ export default withTRPC<AppRouter>({ | ||||||
|             process.env.NODE_ENV === "development" || |             process.env.NODE_ENV === "development" || | ||||||
|             (opts.direction === "down" && opts.result instanceof Error), |             (opts.direction === "down" && opts.result instanceof Error), | ||||||
|         }), |         }), | ||||||
|         httpBatchLink({ |         httpLink({ | ||||||
|           url: `/api/trpc`, |           url: `/api/trpc`, | ||||||
|         }), |         }), | ||||||
|       ], |       ], | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Alex Johansson
						Alex Johansson