mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-29 21:13:33 +08:00
Merge 3eec3a70f9 into fc1fdf3389
This commit is contained in:
commit
c54f450ad7
@ -345,6 +345,7 @@ class PromptServer():
|
||||
|
||||
for name, dir in nodes.EXTENSION_WEB_DIRS.items():
|
||||
files = glob.glob(os.path.join(glob.escape(dir), '**/*.js'), recursive=True)
|
||||
files = [file for file in files if 'no_auto_execute' not in file]
|
||||
extensions.extend(list(map(lambda f: "/extensions/" + urllib.parse.quote(
|
||||
name) + "/" + os.path.relpath(f, dir).replace("\\", "/"), files)))
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user