crystian / ComfyUI-Crystools

A powerful set of tools for ComfyUI
MIT License
697 stars 33 forks source link

incorrect paths #91

Closed GitHub4LP closed 1 month ago

GitHub4LP commented 1 month ago

Describe the bug
I'm running ComfyUI on a subpath, with port forwarding via code-server. ComfyUI is running well, and it loads your plugin's JavaScript files correctly. However, your JavaScript references to ComfyUI's api.js, app.js, widgets.js, etc., do not include the subpath and are directly requesting them under the domain name, which leads to incorrect paths and errors.

Screenshots
屏幕截图 2024-07-30 190930 屏幕截图 2024-07-30 191438

crystian commented 1 month ago

versions please! and I don't support tunnes or whatever baidu is

GitHub4LP commented 1 month ago

Thank you for your response. This is not related to Baidu; Paperspace is the same. As I described above, the main issue is adapting to the subpath.

crystian commented 1 month ago

as I said before, I need to see versions as the form to create an issue said, please! yes this is related to baidu/tunnel, because it works with localhost

GitHub4LP commented 1 month ago

versions

crystian commented 1 month ago

sorry but I can't reproduce it, if you want you can create a PR

GitHub4LP commented 1 month ago

sorry but I can't reproduce it, if you want you can create a PR

@crystian

WSL2 install jupyterlab jupyter-server-proxy jupyter lab --no-browser --ip=0.0.0.0 --allow-root --notebook-dir=~ --LabApp.token= --LabApp.allow_origin=* --LabApp.base_url=/jupyter/ run ComfyUI and request http://127.0.0.1:8888/jupyter/proxy/8188/