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():
return {"message": "StackHub API is alive"}