diff options
author | Vitaly Takmazov | 2018-03-20 23:12:19 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-03-20 23:12:19 +0300 |
commit | d0d6571d36dadd8348cb484b55c6c4b18be37303 (patch) | |
tree | 7ae0d78dc247b2ddc3cb92d717e29c009569975c /juick-common/src/main/java/com/juick/server | |
parent | 17ba278f15052bb8e02b1c70fc1e5b36ac9f12c0 (diff) |
boot: multipart is autoconfigured
Diffstat (limited to 'juick-common/src/main/java/com/juick/server')
-rw-r--r-- | juick-common/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/juick-common/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java b/juick-common/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java index ac9eb224..ff34e370 100644 --- a/juick-common/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java +++ b/juick-common/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java @@ -74,13 +74,6 @@ public class BaseWebConfiguration implements WebMvcConfigurer, SchedulingConfigu return mapper; } - @Bean - public MultipartResolver multipartResolver() { - CommonsMultipartResolver resolver = new CommonsMultipartResolver(); - resolver.setMaxUploadSize(10000000); - return resolver; - } - @Override public void configureTasks(ScheduledTaskRegistrar taskRegistrar) { taskRegistrar.setScheduler(taskExecutor()); |