This commit is contained in:
grzegorzewskiflyingdog 2025-12-03 10:05:19 -05:00 committed by GitHub
commit da8e7dc918
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)))