Files
mctf/dark-tariff/backend/app/api/routes/health.py
T
TakuyaYagam1 13f936bee9 chore: import MCTF services
- Added all seven issued service trees without omissions.
- Preserved the supplied runtime configuration, binaries, and assets.
2026-11-29 12:25:29 +03:00

10 lines
213 B
Python
Executable File

from fastapi import APIRouter
from backend.app.db import operations
router = APIRouter(prefix="/api", tags=["system"])
@router.get("/health")
async def health():
return {"ok": await operations.ping() == 1}