From 05e31feecb7df60171249f1a0419d02d90d4acfa Mon Sep 17 00:00:00 2001 From: Charles Zhao Date: Mon, 22 Jul 2024 17:54:39 +0800 Subject: [PATCH] refactor(schemas): increase max upload file size limit to 20MB --- packages/schemas/src/types/user-assets.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/schemas/src/types/user-assets.ts b/packages/schemas/src/types/user-assets.ts index 95aa2d530..dbd83849e 100644 --- a/packages/schemas/src/types/user-assets.ts +++ b/packages/schemas/src/types/user-assets.ts @@ -1,6 +1,6 @@ import { z } from 'zod'; -export const maxUploadFileSize = 10 * 1024 * 1024; // 10 MB +export const maxUploadFileSize = 20 * 1024 * 1024; // 20 MB // Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types export const allowUploadMimeTypes = [