Skip to content

Commit 8b19d31

Browse files
authored
Merge pull request #82 from SWU-Elixir/fix/81-aws-s3-img-upload
fix: 파일 업로드 시 파일 크기 오류로 인한 크기 제한 설정
2 parents 5980715 + 6590501 commit 8b19d31

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/resources/application-prod.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ aws.accessKeyId=${AWS_ACCESSKEY}
4747
aws.secretKey=${AWS_SECRETKEY}
4848
aws.region=ap-northeast-2
4949
aws.bucketName=s3elixir
50+
spring.servlet.multipart.max-file-size=10MB
51+
spring.servlet.multipart.max-request-size=10MB
5052

5153
# permit all patterns
5254
security.whitelist[0]=/test

0 commit comments

Comments
 (0)