Files
sfera/services/api-server/src/api_server/worker.py
T
2026-05-16 19:03:49 +03:00

17 lines
357 B
Python

from __future__ import annotations
from fastapi import FastAPI
app = FastAPI(title="SFERA Worker", version="0.1.0")
@app.get("/health")
async def health() -> dict[str, str]:
return {"status": "ok", "service": "sfera-worker"}
@app.get("/api/health")
async def api_health() -> dict[str, str]:
return {"status": "ok", "service": "sfera-worker"}