11cafe / comfyui-workspace-manager

A ComfyUI workflows and models management extension to organize and manage all your workflows, models in one place. Seamlessly switch between workflows, as well as import, export workflows, reuse subworkflows, install models, browse your models in a single workspace
MIT License
1.14k stars 54 forks source link

ComfyUI in subpath #483

Open GitHub4LP opened 2 months ago

GitHub4LP commented 2 months ago
          oh wow i didn't know that you can do this base: './'  in vite

and i just fixed this issue: encryptUtils.ts so u should be able to npm build this project no problem now

Originally posted by @Weixuanf in https://github.com/11cafe/comfyui-workspace-manager/issues/449#issuecomment-2267466238

测试复现环境: 方案1: export VSCODE_PROXY_URI=./proxy/{{port}}/ && code-server --disable-workspace-trust --disable-telemetry --auth none ~ --bind-addr 0.0.0.0:8080 方案2: jupyter lab --no-browser --ip=0.0.0.0 --allow-root --notebook-dir=~ --LabApp.token= --LabApp.allow_origin=* --LabApp.base_url=/jupyter/ 方案3: nginx反向代理

运行ComfyUI, 可以用WSL2

总之ComfyUI打开在subpath或者存在baseUrl上,你可以看看ComfyUI是如何获取这个路径的,直接使用它的API或变量获取,还有就是希望此插件的浏览器路径能放在extension下,就像其他插件那样,而不是放在根路径下