add post size
Test Workflow / test (push) Successful in 3s

This commit is contained in:
vladp
2025-12-26 19:10:43 +07:00
parent 2a9f33068a
commit 2c1a2aeb16
+15 -5
View File
@@ -16,10 +16,11 @@ spring:
servlet: servlet:
multipart: multipart:
max-file-size: 10MB
max-request-size: 100MB
enabled: true enabled: true
resolve-lazily: false resolve-lazily: true
file-size-threshold: 0
max-file-size: 5242880
max-request-size: 10485760
file: file:
storage: storage:
@@ -31,6 +32,12 @@ file:
temp-ttl-hours: ${TEMP_TTL_HOURS:72} # 3 дня temp-ttl-hours: ${TEMP_TTL_HOURS:72} # 3 дня
session-expiry-hours: ${SESSION_EXPIRY_HOURS:24} session-expiry-hours: ${SESSION_EXPIRY_HOURS:24}
server:
port: ${SERVER_PORT:8080}
tomcat:
max-swallow-size: -1 # Отключаем ограничения Tomcat
max-http-form-post-size: 10
security: security:
cors: cors:
allowed-origins: "*" allowed-origins: "*"
@@ -38,8 +45,11 @@ security:
allowed-headers: "*" allowed-headers: "*"
allow-credentials: true allow-credentials: true
server: #server:
port: ${SERVER_PORT:8080} # port: ${SERVER_PORT:8080}
#
#
logging: logging:
level: level: