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:
parent
708397361c
commit
05e31feecb
1 changed files with 1 additions and 1 deletions
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue