Browse Source

update 上传文件大小限制

jay 1 year ago
parent
commit
dec7438275
1 changed files with 2 additions and 2 deletions
  1. 2 2
      iot-starter/src/main/resources/application-dev.yml

+ 2 - 2
iot-starter/src/main/resources/application-dev.yml

@@ -6,8 +6,8 @@ spring:
   servlet:
     multipart:
       enabled: true
-      max-file-size: 100MB
-      max-request-size: 100MB
+      max-file-size: 200MB
+      max-request-size: 200MB
 
   #注: 切换数据库时需要将项目根目录中的.init文件删除再重启
   # <<=======内置H2数据库连接设置开始==========