diff --git a/backend/main.py b/backend/main.py index 45d45f8b..e01ab96c 100644 --- a/backend/main.py +++ b/backend/main.py @@ -18,7 +18,6 @@ log.info("TFM aInventory API process started.") # [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 is invalid per spec. # Allowed origins are configured via ALLOWED_ORIGINS environment variable (comma-separated).