mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-07-13 08:36:58 +08:00
Merge 3eec3a70f90b28d764150c1e478324b1a4638338 into 519c9411653df99761053c30e101816e0ca3c24b
This commit is contained in:
commit
da8e7dc918
@ -331,6 +331,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…
x
Reference in New Issue
Block a user