Revert "Feat: use file size limit from api" (#9714)
This commit is contained in:
parent
c9dfe1ad92
commit
bf478aeba2
8 changed files with 17 additions and 127 deletions
|
|
@ -1,7 +1,3 @@
|
|||
// fallback for file size limit of dify_config
|
||||
export const IMG_SIZE_LIMIT = 10 * 1024 * 1024
|
||||
export const FILE_SIZE_LIMIT = 15 * 1024 * 1024
|
||||
export const AUDIO_SIZE_LIMIT = 50 * 1024 * 1024
|
||||
export const VIDEO_SIZE_LIMIT = 100 * 1024 * 1024
|
||||
|
||||
export const FILE_URL_REGEX = /^(https?|ftp):\/\//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue