From dcc7e740164132e9cbe48cbfaa050deeda750e08 Mon Sep 17 00:00:00 2001 From: sourabh-josh Date: Tue, 29 Oct 2024 12:52:55 +0530 Subject: [PATCH] fix[uploadthing]: max file size mismatch --- app/src/app/api/uploadthing/core.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/app/api/uploadthing/core.ts b/app/src/app/api/uploadthing/core.ts index d3d5c34..a05467e 100644 --- a/app/src/app/api/uploadthing/core.ts +++ b/app/src/app/api/uploadthing/core.ts @@ -12,9 +12,11 @@ export const ourFileRouter = { { audio: { maxFileCount: 1, + maxFileSize: "1024MB" }, video: { maxFileCount: 1, + maxFileSize: "1024MB" } }) // Set permissions and file types for this FileRoute