From cfcb025cac159ec222891f4489342c99da6122bf Mon Sep 17 00:00:00 2001 From: rustdreamer Date: Mon, 28 Aug 2023 18:27:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BA100?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 5f6cba5..59b9adc 100644 --- a/src/main.ts +++ b/src/main.ts @@ -39,8 +39,8 @@ async function bootstrap() { }, credentials: true, }); - app.use(json({ limit: '50mb' })); - app.use(urlencoded({ extended: true, limit: '50mb' })); + app.use(json({ limit: '100mb' })); + app.use(urlencoded({ extended: true, limit: '100mb' })); // app.useGlobalFilters(new HttpExceptionFilter()); app.useGlobalInterceptors(new LoggingInterceptor()); if (process.env.DOC === 'true') {