feat: add /api/healthz endpoint (ref #16) #17

Closed
pangtong-fujunshi wants to merge 1 commits from feat/healthz-endpoint into main
+9
View File
@@ -0,0 +1,9 @@
"""Health check endpoint."""
from fastapi import APIRouter
router = APIRouter()
@router.get("/api/healthz")
async def healthz():
"""Lightweight health check."""
return {"status": "ok"}