allow health to override auth
Some checks failed
Build and Publish / build-release (push) Failing after 2m41s

This commit is contained in:
2026-04-23 16:30:36 -05:00
parent 01e9848ebc
commit 64700cfd37

View File

@@ -10,6 +10,8 @@ class AuthMiddleware(BaseHTTPMiddleware):
# Skip auth for health endpoint # Skip auth for health endpoint
if request.url.path == "/health": if request.url.path == "/health":
return await call_next(request) return await call_next(request)
if request.url.path == "/health/ready":
return await call_next(request)
request.state.org_id = "test" request.state.org_id = "test"
response = await call_next(request) response = await call_next(request)
return response return response