mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +00:00
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:
committed by
Chenlei Hu
parent
5e51ae37cf
commit
9c7ea5bd87
@@ -90,9 +90,10 @@ function getModuleName(id: string): string {
|
||||
}
|
||||
|
||||
const DEV_SERVER_COMFYUI_URL = process.env.DEV_SERVER_COMFYUI_URL || 'http://127.0.0.1:8188'
|
||||
const VITE_BASE_URL = process.env.VITE_BASE_URL || '/'
|
||||
|
||||
export default defineConfig({
|
||||
base: '',
|
||||
base: VITE_BASE_URL,
|
||||
server: {
|
||||
proxy: {
|
||||
'/internal': {
|
||||
|
||||
Reference in New Issue
Block a user