b823743 be3e366 b823743 1076a9a
1
2
3
4
5
app.mount("/", StaticFiles(directory="static", html=True), name="static") @app.get("/") def index() -> FileResponse: return FileResponse(path="index.html", media_type="text/html")