websoft9/appmanage/api/v1/routers/health.py

8 lines
144 B
Python
Raw Normal View History

2023-02-21 14:21:53 +08:00
from fastapi import APIRouter
router = APIRouter()
@router.get("/health")
def health_check():
2023-03-16 10:17:38 +08:00
return {"message": "StackHub API is alive"}