Files
home-automation-backend/app/api/health.py

10 lines
183 B
Python

from fastapi import APIRouter
router = APIRouter()
@router.get("/health", tags=["health"])
async def health_check():
"""Minimal health endpoint."""
return {"status": "ok"}