mirror of
https://github.com/khoaliber/LetterFeed.git
synced 2026-03-02 13:18:27 +00:00
14 lines
289 B
Python
14 lines
289 B
Python
from fastapi import APIRouter
|
|
|
|
from app.core.logging import get_logger
|
|
|
|
logger = get_logger(__name__)
|
|
router = APIRouter()
|
|
|
|
|
|
@router.get("/health")
|
|
def health_check():
|
|
"""Perform a health check of the API."""
|
|
logger.info("Health check endpoint called")
|
|
return {"status": "ok"}
|