mirror of
https://github.com/furyhawk/lta_datamall_api.git
synced 2026-07-21 02:06:50 +00:00
14 lines
254 B
Python
14 lines
254 B
Python
from fastapi import APIRouter
|
|
|
|
router = APIRouter(tags=["Health"])
|
|
|
|
|
|
@router.get("/healthz")
|
|
async def healthz() -> dict[str, str]:
|
|
return {"status": "ok"}
|
|
|
|
|
|
@router.get("/readyz")
|
|
async def readyz() -> dict[str, str]:
|
|
return {"status": "ready"}
|