The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Use raw dir name to serve static web content (#6107)
Chenlei Huf18ebbd31645
diff --git a/server.py b/server.pyindex ddd71e062..22525507a 100644--- a/server.py+++ b/server.py@@ -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),