Fix routing (#929)

* fix router and move graph related parts to GraphView.vue

* (fix) add back child element in UnloadWindowConfirmDialog

* (cleanup) remove empty callback

* (fix) routing issue when base url is not webroot

* add back DEV_SERVER_COMFYUI_URL
This commit is contained in:
ArtificialLab
2024-09-23 07:09:10 +04:00
committed by Chenlei Hu
parent 5e51ae37cf
commit 9c7ea5bd87
6 changed files with 22 additions and 12 deletions

View File

@@ -16,4 +16,12 @@ DEPLOY_COMFYUI_DIR=/home/ComfyUI/web
EXAMPLE_REPO_PATH=tests-ui/ComfyUI_examples
# Whether to enable minification of the frontend code.
ENABLE_MINIFY=true
ENABLE_MINIFY=true
# ------ ViteJS related env variables ------
# Note: the VITE_ prefix is required
# Frontend base URL
# Note: default / is for http://localhost:5173/
# Example: /foobar/ will be served as http://localhost:5173/foobar/
VITE_BASE_URL=