ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

use relative paths for all web connections

Open mcmonkey4eva opened this issue 1 year ago • 1 comments

This enables local reverse-proxies to host ComfyUI on a path, eg "http://example.com/ComfyUI/" in such a way that at least everything I tested works. Without this patch, proxying ComfyUI in this way will yield errors.

I'm not very familiar with the codebase currently, so this may be a suboptimal method, and/or it may be missing some key path handlers. I'd be happy with any solution that enables subpathed reverse-proxying to work.

If in doubt, you can test with apache2 or nginx (or for @comfyanonymous I can give you the internal thing to test with)

mcmonkey4eva avatar Jul 10 '23 09:07 mcmonkey4eva

have you tried with ProxyPass/ProxyPassReverse?

cubiq avatar Jul 11 '23 07:07 cubiq

TypeError: Cannot read properties of undefined (reading 'inputs')

https://github.com/shadowcz007/comfyui-mixlab-nodes/issues/163

2 Persons to one Scene.json

Soliver84 avatar Jan 29 '24 21:01 Soliver84