web: remove trpc response limit

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-01-09 08:07:30 +01:00
parent 39827226d8
commit c223951f41
5 changed files with 6 additions and 24 deletions

View File

@@ -3,6 +3,12 @@ import { appRouter } from '@/server/api/root';
import { createTRPCContext } from '@/server/api/trpc';
import { createNextApiHandler } from '@trpc/server/adapters/next';
export const config = {
api: {
responseLimit: false,
},
};
// export API handler
export default createNextApiHandler({
router: appRouter,