Browse Source

增加文件上传大小配置

xusonglin 5 years ago
parent
commit
691def932b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/resources/application.yml

+ 1 - 0
src/main/resources/application.yml

@@ -5,6 +5,7 @@ spring:
     multipart:
       enabled: true
       max-file-size: 200MB
+      max-request-size: 200MB
   profiles:
     active: prod
   jpa: