from fastapi import FastAPI from fastapi.responses import FileResponse app = FastAPI() @app.get("/") async def serve_html(): return FileResponse("index.html") @app.get("/health") async def health(): return {"status": "ok"}