From 10e14ab60e87479f5228d5bce864018096377dad Mon Sep 17 00:00:00 2001 From: JunHyeongChoi Date: Tue, 5 Nov 2024 20:32:13 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=ED=8C=8C=EC=9D=BC=20=EC=B2=A8=EB=B6=80?= =?UTF-8?q?=20=EA=B0=80=EB=8A=A5=20=EC=9A=A9=EB=9F=89=20=EB=8A=98=EB=A6=AC?= =?UTF-8?q?=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/potatocake/everymoment/exception/ErrorCode.java | 2 +- src/main/resources/application-prod.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/potatocake/everymoment/exception/ErrorCode.java b/src/main/java/com/potatocake/everymoment/exception/ErrorCode.java index 043f2ae..225367f 100644 --- a/src/main/java/com/potatocake/everymoment/exception/ErrorCode.java +++ b/src/main/java/com/potatocake/everymoment/exception/ErrorCode.java @@ -35,7 +35,7 @@ public enum ErrorCode { /* File */ FILE_NOT_FOUND("존재하지 않는 파일입니다.", NOT_FOUND), - FILE_SIZE_EXCEEDED("각 파일은 1MB 이하로, 전체 파일 크기는 10MB 이하로 첨부해 주세요.", PAYLOAD_TOO_LARGE), + FILE_SIZE_EXCEEDED("각 파일은 5MB 이하로, 전체 파일 크기는 25MB 이하로 첨부해 주세요.", PAYLOAD_TOO_LARGE), /* Comment */ COMMENT_NOT_FOUND("존재하지 않는 댓글입니다.", NOT_FOUND), diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index ec77b50..4f5ff81 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -20,8 +20,8 @@ spring: servlet: multipart: - max-file-size: 1MB - max-request-size: 10MB + max-file-size: 5MB + max-request-size: 25MB resolve-lazily: true aws: