mirror of
https://github.com/khoaliber/LetterFeed.git
synced 2026-03-09 13:25:18 +00:00
v0.1.0
This commit is contained in:
13
backend/app/routers/health.py
Normal file
13
backend/app/routers/health.py
Normal file
@@ -0,0 +1,13 @@
|
||||
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"}
|
||||
Reference in New Issue
Block a user