initvglidrbtgrthijl;
This commit is contained in:
@@ -35,8 +35,12 @@ REDIS_PASSWORD=
|
||||
REDIS_DB=0
|
||||
|
||||
# ── CORS ────────────────────────────────────────────────────────────
|
||||
# Comma-separated list of allowed origins. ПУСТО = no cross-origin.
|
||||
# Никогда не используй wildcard *
|
||||
# Comma-separated list of allowed origins, OR "*" для wildcard (dev/staging).
|
||||
# ПУСТО = no cross-origin (fail-secure).
|
||||
# Wildcard incompatible с CORS_ALLOW_CREDENTIALS=true (browser spec — credentials force=false).
|
||||
# Production: явный whitelist для security (XSS на любом сайте не сможет дёрнуть API).
|
||||
# Whitelist: CORS_ORIGINS=https://app.example.com,https://www.example.com
|
||||
# Wildcard: CORS_ORIGINS=*
|
||||
CORS_ORIGINS=
|
||||
CORS_ALLOW_CREDENTIALS=true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user