Skip to content

Commit 202e05d

Browse files
committed
chore : 파일 업로드 요청 용량 조정
1 parent e060fe1 commit 202e05d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/com/grepp/teamnotfound/infra/error/exception/advice/GlobalExceptionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public ResponseEntity<ErrorResponse> handleMaxSizeException(MaxUploadSizeExceede
103103
.body(new ErrorResponse(
104104
HttpStatus.PAYLOAD_TOO_LARGE.value(),
105105
"PAYLOAD_TOO_LARGE",
106-
"파일 크기가 너무 큽니다. 최대 5MB 까지 업로드할 수 있습니다.",
106+
"파일 크기가 너무 큽니다. 최대 3MB 까지 업로드할 수 있습니다.",
107107
LocalDateTime.now()
108108
));
109109
}

src/main/resources/application.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ springdoc.swagger-ui.try-it-out-enabled=true
7777
# bucket
7878
google.cloud.storage.bucket=mungnote-storage
7979
image.clean.period-days=30
80-
spring.servlet.multipart.max-file-size=5MB
81-
spring.servlet.multipart.max-request-size=10MB
80+
spring.servlet.multipart.max-file-size=3MB
81+
spring.servlet.multipart.max-request-size=20MB
8282

8383

8484
# OAuth2.0

0 commit comments

Comments
 (0)