car/handler/health.py
2023-05-31 11:52:34 +08:00

12 lines
213 B
Python

import logger
from fastapi import APIRouter
from utils.common import response
router = APIRouter(tags=["Health"])
@router.get("/health")
def health():
logger.logger.info("health")
return response("OK")