fix: raise upload limits — api 2 GiB, nginx 2g (was 100 MiB api / 20m-512m nginx)

Cloudflare free caps at 100 MB on the proxied route regardless; larger
files need the domain set to DNS-only or a chunked upload path.
This commit is contained in:
glass beadian 2026-10-15 08:46:50 +00:00
parent 3c1bce1cd2
commit 1ddaf32edf
2 changed files with 8 additions and 8 deletions

View file

@ -1,2 +1,2 @@
// StorageService seals whole Buffers; bound multipart memory use per request.
export const MAX_VIDEO_UPLOAD_BYTES = 100 * 1024 * 1024;
export const MAX_VIDEO_UPLOAD_BYTES = 2 * 1024 * 1024 * 1024;