0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

refactor(schemas): increase max upload file size limit to 20MB

This commit is contained in:
Charles Zhao 2024-07-22 17:54:39 +08:00
parent 708397361c
commit 05e31feecb
No known key found for this signature in database
GPG key ID: 4858774754C92DF2

View file

@ -1,6 +1,6 @@
import { z } from 'zod'; 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 // Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
export const allowUploadMimeTypes = [ export const allowUploadMimeTypes = [