将可上传文件扩大至500MB
This commit is contained in:
@@ -8,7 +8,7 @@ public class FileStorageProperties {
|
||||
private String provider = "local";
|
||||
private final Local local = new Local();
|
||||
private final Oss oss = new Oss();
|
||||
private long maxFileSize = 50 * 1024 * 1024L;
|
||||
private long maxFileSize = 500L * 1024 * 1024L;
|
||||
|
||||
public String getProvider() {
|
||||
return provider;
|
||||
|
||||
@@ -18,8 +18,8 @@ spring:
|
||||
format_sql: true
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 50MB
|
||||
max-request-size: 50MB
|
||||
max-file-size: 500MB
|
||||
max-request-size: 500MB
|
||||
|
||||
app:
|
||||
jwt:
|
||||
@@ -27,7 +27,7 @@ app:
|
||||
expiration-seconds: 86400
|
||||
storage:
|
||||
root-dir: ./storage
|
||||
max-file-size: 52428800
|
||||
max-file-size: 524288000
|
||||
cqu:
|
||||
base-url: https://example-cqu-api.local
|
||||
require-login: true
|
||||
|
||||
Reference in New Issue
Block a user