mirror of
https://github.com/sstent/AICyclingCoach.git
synced 2026-02-15 19:55:40 +00:00
sync
This commit is contained in:
9
backend/app/routes/health.py
Normal file
9
backend/app/routes/health.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from fastapi import APIRouter
|
||||
from app.services.health_monitor import HealthMonitor
|
||||
|
||||
router = APIRouter()
|
||||
monitor = HealthMonitor()
|
||||
|
||||
@router.get("/health")
|
||||
async def get_health():
|
||||
return monitor.check_system_health()
|
||||
Reference in New Issue
Block a user