update readme

configure output directory
This commit is contained in:
ArnoChen
2025-02-13 17:53:12 +08:00
parent c674905a98
commit bc83c4c7ed
5 changed files with 49 additions and 12 deletions

View File

@@ -1463,12 +1463,12 @@ def create_app(args):
},
}
# Webui mount graph_viewer_webui/dist/index.html
webui_dir = Path(__file__).parent / "graph_viewer_webui" / "dist"
# Webui mount webui/index.html
webui_dir = Path(__file__).parent / "webui"
app.mount(
"/graph-viewer",
StaticFiles(directory=webui_dir, html=True),
name="webui_static",
name="webui",
)
# Serve the static files