Skip to content

Allow disabling proxy of /template path via env#3773

Merged
christian-byrne merged 2 commits intomainfrom
add-template-dev-option
May 6, 2025
Merged

Allow disabling proxy of /template path via env#3773
christian-byrne merged 2 commits intomainfrom
add-template-dev-option

Conversation

@christian-byrne
Copy link
Contributor

@christian-byrne christian-byrne commented May 6, 2025

In #3710, the /templates route is proxied, which is good because it allows testing templates component changes while using frontend dev server. This PR adds env var to allow disabling the proxy in the case that you need to test changes to templates locally (changes made to the static template files themselves, rather than a ComfyUI_frontend component that handles the templates) and find it difficult to locate the python site package where they are located.

This is needed as there are numerous people who edit the templates with varying OS and programming skills.

@christian-byrne christian-byrne requested review from a team as code owners May 6, 2025 00:35
@christian-byrne christian-byrne merged commit f52915a into main May 6, 2025
10 checks passed
@christian-byrne christian-byrne deleted the add-template-dev-option branch May 6, 2025 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants