diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 0ad1403..020a696 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -16,10 +16,11 @@ spring: servlet: multipart: - max-file-size: 10MB - max-request-size: 100MB enabled: true - resolve-lazily: false + resolve-lazily: true + file-size-threshold: 0 + max-file-size: 5242880 + max-request-size: 10485760 file: storage: @@ -34,8 +35,9 @@ file: server: port: ${SERVER_PORT:8080} tomcat: - max-swallow-size: -1 - max-http-form-post-size: 10 + max-swallow-size: 20MB + max-http-form-post-size: 20MB + max-http-header-size: 16KB security: cors: