From 48fad983244d6d6cabae06dfe6b89c5b76729c80 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Wed, 14 May 2025 09:03:00 +0000 Subject: (김준회) 서버액션 바디사이즈 제한 늘림, pdftron 복사 명령어 추가(README) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- next.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'next.config.ts') diff --git a/next.config.ts b/next.config.ts index cd6fc0c3..7508c10f 100644 --- a/next.config.ts +++ b/next.config.ts @@ -12,7 +12,9 @@ const nextConfig: NextConfig = { }, experimental: { serverActions: { - bodySizeLimit: '5mb', + // [김준회 프로] DRM 복호화/암호화 백엔드로 보낼 때 사이즈 제한 변경(기본값: 1MB) + // DDoS 공격을 방지하기 위해 기본값이 1MB로 설정되어 있음. 암호화된 파일 중 큰 파일(도면 등)도 1GB 이하로 가정하여 설정 (파일별로 서버액션 개별 호출) + bodySizeLimit: '1024mb', }, turbo: { treeShaking: false, -- cgit v1.2.3