API client
This commit is contained in:
parent
b8bd410eeb
commit
11bd3e2d3f
|
|
@ -127,6 +127,13 @@ async def unhandled_exception_handler(request: Request, exc: Exception):
|
||||||
|
|
||||||
|
|
||||||
api_v1 = APIRouter(prefix=settings.normalized_api_prefix)
|
api_v1 = APIRouter(prefix=settings.normalized_api_prefix)
|
||||||
|
|
||||||
|
|
||||||
|
@api_v1.get("/health", include_in_schema=False)
|
||||||
|
async def prefixed_health():
|
||||||
|
return {"status": "ok"}
|
||||||
|
|
||||||
|
|
||||||
api_v1.include_router(auth.router)
|
api_v1.include_router(auth.router)
|
||||||
api_v1.include_router(checks.router)
|
api_v1.include_router(checks.router)
|
||||||
api_v1.include_router(reports.router)
|
api_v1.include_router(reports.router)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user