docter / app.py
yuaiyu's picture
Update app.py
1076a9a
raw
history blame contribute delete
184 Bytes
app.mount("/", StaticFiles(directory="static", html=True), name="static")
@app.get("/")
def index() -> FileResponse:
return FileResponse(path="index.html", media_type="text/html")