Skip to content

Commit

Permalink
Merge pull request #88 from kakao-tech-campus-2nd-step3/feature/87-fiโ€ฆ
Browse files Browse the repository at this point in the history
โ€ฆlesize-up

feat: ๊ฐœ๋ณ„ ํŒŒ์ผ ์šฉ๋Ÿ‰ ์ตœ๋Œ€ 5MB, ์ด ์šฉ๋Ÿ‰ 25MB๋กœ ์ฆ์ง„
  • Loading branch information
peeerr authored Nov 5, 2024
2 parents 34ea26a + 10e14ab commit 740538a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 740538a

Please sign in to comment.