This commit is contained in:
root
2025-09-14 17:30:57 +05:00
parent c8512379d6
commit 4335189aa7
3 changed files with 19 additions and 112 deletions
+19 -1
View File
@@ -23,7 +23,25 @@ spring:
- Path=/** # <-- Матчится со всеми путями
order: 100 # <-- Низкий приоритет (сработает последним)
# CORS обрабатывается через CorsHeaderFilter
# CORS конфигурация
globalcors:
cors-configurations:
'[/**]':
allowed-origins:
- 'https://konturai.kz'
- 'http://localhost:*'
- 'http://127.0.0.1:*'
- 'https://localhost:*'
- 'https://127.0.0.1:*'
allowed-methods:
- GET
- POST
- PUT
- DELETE
- OPTIONS
allowed-headers: '*'
allow-credentials: true
max-age: 3600
# Логирование для отладки маршрутизации
logging: