1
0
forked from Yara724/api

Change minimum size of files

This commit is contained in:
SepehrYahyaee
2026-05-24 10:11:52 +03:30
parent af875a4773
commit 4d4106a8ab
2 changed files with 1 additions and 22 deletions

View File

@@ -47,7 +47,7 @@ export interface MediaLimits {
* receive. Per-client `maxBytes` cannot legitimately go above its route's
* multer ceiling, so the defaults below are kept at-or-below those.
*/
export const DEFAULT_MEDIA_MIN_BYTES = 100 * 1024; // 100KB
export const DEFAULT_MEDIA_MIN_BYTES = 20 * 1024; // 100KB
export const DEFAULT_MEDIA_MAX_BYTES = 100 * 1024 * 1024; // 100MB
export const DEFAULT_MEDIA_LIMITS: Record<MediaKind, MediaLimits> = {