| from fastapi import FastAPI | |
| from fastapi.staticfiles import StaticFiles | |
| app = FastAPI() | |
| # Mount the current directory as static files | |
| # html=True allows serving index.html at root / | |
| app.mount("/", StaticFiles(directory=".", html=True), name="static") | |