From 7949c1572afd11c69e1c8152381b9ce3a5d19fd2 Mon Sep 17 00:00:00 2001 From: yiling Date: Wed, 29 Jul 2026 20:28:22 +0800 Subject: [PATCH] feat(web): update default MAX_REQUEST_BODY_SIZE to 20GB --- apps/web/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/index.ts b/apps/web/src/index.ts index 40204f19..5b7a391f 100644 --- a/apps/web/src/index.ts +++ b/apps/web/src/index.ts @@ -139,7 +139,7 @@ async function run() { idleTimeout: 120, maxRequestBodySize: process.env.MAX_REQUEST_BODY_SIZE ? parseInt(process.env.MAX_REQUEST_BODY_SIZE) - : 1024 * 1024 * 1024 * 10, // Default 10GB + : 1024 * 1024 * 1024 * 20, // Default 20GB development: !isProd, fetch: app.fetch, routes,