refactor: translate all docstrings and comments to English (STRICT ENGLISH POLICY complete)
This commit is contained in:
@@ -21,8 +21,8 @@ app.state.limiter = limiter
|
||||
app.add_exception_handler = limiter.add_exception_handler
|
||||
|
||||
# [SECURITY FIX M-01] CORS: allow_origins=["*"] + allow_credentials=True is invalid per spec.
|
||||
# Originile permise se configurează via variabila de mediu ALLOWED_ORIGINS (comma-separated).
|
||||
# Fallback sigur: doar localhost pentru development.
|
||||
# Allowed origins are configured via ALLOWED_ORIGINS environment variable (comma-separated).
|
||||
# Secure fallback: localhost only for development.
|
||||
_raw_origins = os.environ.get(
|
||||
"ALLOWED_ORIGINS",
|
||||
"http://localhost:3000,http://localhost:3002"
|
||||
|
||||
Reference in New Issue
Block a user