fanxw 6 år sedan
förälder
incheckning
10649fe9a7
1 ändrade filer med 8 tillägg och 5 borttagningar
  1. 8 5
      src/main/resources/bootstrap.yml

+ 8 - 5
src/main/resources/bootstrap.yml

@@ -39,13 +39,16 @@ spring:
39 39
         max-wait: -1
40 40
         max-idle: 8
41 41
         min-idle: 0
42
+  servlet:
43
+    multipart:
44
+      max-file-size: 10Mb
45
+      max-request-size: 10Mb
42 46
   # 静态资源配置
43 47
   resources:
44 48
     static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
45
- 
46
-web:
47
-  upload-path: /home/depot/depot-web/apache-tomcat-8.0.53/webapps/ROOT/WEB-INF/classes/static
48
-
49 49
   jackson:
50 50
     date-format: yyyy-MM-dd
51
-    time-zone: GMT+8
51
+    time-zone: GMT+8
52
+
53
+web:
54
+  upload-path: /home/depot/depot-web/apache-tomcat-8.0.53/webapps/ROOT/WEB-INF/classes/static