mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-10 18:05:16 +00:00
Use raw dir name to serve static web content (#6107)
This commit is contained in:
parent
15564688ed
commit
f18ebbd316
@ -714,9 +714,7 @@ class PromptServer():
|
||||
self.app.add_routes(self.routes)
|
||||
|
||||
for name, dir in nodes.EXTENSION_WEB_DIRS.items():
|
||||
self.app.add_routes([
|
||||
web.static('/extensions/' + urllib.parse.quote(name), dir),
|
||||
])
|
||||
self.app.add_routes([web.static('/extensions/' + name, dir)])
|
||||
|
||||
self.app.add_routes([
|
||||
web.static('/', self.web_root),
|
||||
|
Loading…
Reference in New Issue
Block a user