mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-11 02:15:17 +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)
|
self.app.add_routes(self.routes)
|
||||||
|
|
||||||
for name, dir in nodes.EXTENSION_WEB_DIRS.items():
|
for name, dir in nodes.EXTENSION_WEB_DIRS.items():
|
||||||
self.app.add_routes([
|
self.app.add_routes([web.static('/extensions/' + name, dir)])
|
||||||
web.static('/extensions/' + urllib.parse.quote(name), dir),
|
|
||||||
])
|
|
||||||
|
|
||||||
self.app.add_routes([
|
self.app.add_routes([
|
||||||
web.static('/', self.web_root),
|
web.static('/', self.web_root),
|
||||||
|
Loading…
Reference in New Issue
Block a user