2a9cf9e224
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
459 B
Python
22 lines
459 B
Python
from contextlib import asynccontextmanager
|
|
|
|
from fastapi import FastAPI
|
|
|
|
from app.api.auth import router as auth_router
|
|
from app.api.recordings import router as recordings_router
|
|
|
|
|
|
@asynccontextmanager
|
|
async def lifespan(app: FastAPI):
|
|
yield
|
|
|
|
|
|
app = FastAPI(title="Meeting Protocol Service", lifespan=lifespan)
|
|
app.include_router(auth_router)
|
|
app.include_router(recordings_router)
|
|
|
|
|
|
@app.get("/api/health")
|
|
async def health():
|
|
return {"status": "ok"}
|