Browse Source

max-file-size

bc_zhang 4 years ago
parent
commit
f56ce0d859
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/main/resources/application-dev.yml

+ 6 - 0
src/main/resources/application-dev.yml

@@ -94,8 +94,14 @@ spring:
     sourcePath: d:\sourcefm
   mvc:
     static-path-pattern: /**
+  servlet:
+    multipart:
+      max-file-size: 50MB
+      max-request-size: 50MB
 server:
   port: 11083
+  tomcat:
+    max-swallow-size: 50MB
 mybatis:
   configuration:
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl