websoft9/appmanage/api/v1/routers/health.py
2023-02-21 14:21:53 +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"}