Merge branch 'master' into v3-definition

This commit is contained in:
Jedrzej Kosinski
2025-06-01 01:51:04 -07:00
14 changed files with 562 additions and 29 deletions

View File

@@ -749,6 +749,13 @@ class PromptServer():
web.static('/templates', workflow_templates_path)
])
# Serve embedded documentation from the package
embedded_docs_path = FrontendManager.embedded_docs_path()
if embedded_docs_path:
self.app.add_routes([
web.static('/docs', embedded_docs_path)
])
self.app.add_routes([
web.static('/', self.web_root),
])