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:
parent
3c1bce1cd2
commit
1ddaf32edf
2 changed files with 8 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue