12 lines
228 B
Python
12 lines
228 B
Python
import logger
|
|
from fastapi import APIRouter
|
|
from utils.common import response
|
|
|
|
router = APIRouter(tags=["Health"], prefix="/api")
|
|
|
|
|
|
@router.get("/health")
|
|
def health():
|
|
logger.logger.info("health")
|
|
return response("OK")
|