The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
disable follow_symlinks in static serving for security reason (#2902)
僵尸浩8d7910cee93e
diff --git a/server.py b/server.pyindex dca06f6fc..c6132cdf9 100644--- a/server.py+++ b/server.py@@ -539,11 +539,11 @@ class PromptServer():for name, dir in nodes.EXTENSION_WEB_DIRS.items():self.app.add_routes([- web.static('/extensions/' + urllib.parse.quote(name), dir, follow_symlinks=True),+ web.static('/extensions/' + urllib.parse.quote(name), dir),])self.app.add_routes([- web.static('/', self.web_root, follow_symlinks=True),+ web.static('/', self.web_root),])def get_queue_info(self):