diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 020a696..08326e1 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -16,11 +16,10 @@ spring: servlet: multipart: + max-file-size: 10MB + max-request-size: 100MB enabled: true - resolve-lazily: true - file-size-threshold: 0 - max-file-size: 5242880 - max-request-size: 10485760 + resolve-lazily: false file: storage: @@ -32,13 +31,6 @@ file: temp-ttl-hours: ${TEMP_TTL_HOURS:72} # 3 дня session-expiry-hours: ${SESSION_EXPIRY_HOURS:24} -server: - port: ${SERVER_PORT:8080} - tomcat: - max-swallow-size: 20MB - max-http-form-post-size: 20MB - max-http-header-size: 16KB - security: cors: allowed-origins: "*" @@ -46,11 +38,8 @@ security: allowed-headers: "*" allow-credentials: true -#server: -# port: ${SERVER_PORT:8080} -# -# - +server: + port: ${SERVER_PORT:8080} logging: level: