13 lines
262 B
Python
13 lines
262 B
Python
|
|
from fastapi import APIRouter
|
||
|
|
|
||
|
|
from app.core.logging import get_logger
|
||
|
|
|
||
|
|
router = APIRouter()
|
||
|
|
logger = get_logger(__name__)
|
||
|
|
|
||
|
|
|
||
|
|
@router.get("/health")
|
||
|
|
async def health_check() -> dict[str, str]:
|
||
|
|
logger.info("health check requested")
|
||
|
|
return {"status": "ok"}
|