Skip to content

Commit

Permalink
fix: MaxUploadSize 크기 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dnjsqls5973 committed Oct 30, 2023
1 parent 83a9eba commit a67eb68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/WithYou/global/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class WebConfig implements WebMvcConfigurer {
public MultipartResolver multipartResolver() {
CommonsMultipartResolver resolver = new CommonsMultipartResolver();
resolver.setDefaultEncoding("utf-8");
resolver.setMaxUploadSize(10240000); // 최대 업로드 크기 (바이트)
resolver.setMaxUploadSize(20480000); // 최대 업로드 크기 (바이트)
return resolver;
}
}

0 comments on commit a67eb68

Please sign in to comment.