Spaces:
Sleeping
Sleeping
Update app/routers/health.py
Browse files- app/routers/health.py +11 -0
app/routers/health.py
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from fastapi import APIRouter
|
| 2 |
+
|
| 3 |
+
router = APIRouter()
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
@router.get("/health")
|
| 7 |
+
async def health():
|
| 8 |
+
|
| 9 |
+
return {
|
| 10 |
+
"status": "healthy"
|
| 11 |
+
}
|