websoft9/appmanage/api/v1/routers/health.py
2023-07-03 10:36:36 +08:00

8 lines
144 B
Python

from fastapi import APIRouter
router = APIRouter()
@router.get("/health")
def health_check():
return {"message": "stackhub API is alive"}