.
This commit is contained in:
@@ -24,24 +24,6 @@ spring:
|
||||
order: 100 # <-- Низкий приоритет (сработает последним)
|
||||
|
||||
# CORS обрабатывается через CorsHeaderFilter
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user