diff --git a/src/middleware/auth.py b/src/middleware/auth.py index c4a4bc3..2ac0c4c 100644 --- a/src/middleware/auth.py +++ b/src/middleware/auth.py @@ -20,8 +20,8 @@ class APIKeyAuthMiddleware(BaseHTTPMiddleware): if not self.api_key: return await call_next(request) - # Skip auth for health check and documentation endpoints - public_paths = ["/health", "/healthz", "/", "/docs", "/redoc", "/openapi.json"] + # Skip auth for health check endpoints + public_paths = ["/health", "/healthz", "/"] if request.url.path in public_paths: return await call_next(request)