chore: translate remaining Romanian code comments to English (STRICT ENGLISH POLICY)

This commit is contained in:
Daniel Bedeleanu
2026-04-11 14:25:03 +03:00
parent f0de7d763a
commit c31209b740
2 changed files with 6 additions and 6 deletions

View File

@@ -15,12 +15,12 @@ log.info("Database tables verified.")
app = FastAPI(title="TFM aInventory API", version="1.1.0")
log.info("TFM aInventory API process started.")
# [H-02] Rate limiting pe API
# [H-02] Rate limiting on API
limiter = Limiter(key_func=get_remote_address)
app.state.limiter = limiter
app.add_exception_handler = limiter.add_exception_handler
# [SECURITY FIX M-01] CORS: allow_origins=["*"] + allow_credentials=True este invalid per spec.
# [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.
_raw_origins = os.environ.get(