diff --git a/MANIFEST.in b/MANIFEST.in index 8af7bc57..ef0db890 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,4 +4,10 @@ include comfyui_manager/glob/* include LICENSE.txt include README.md include requirements.txt -include pyproject.toml \ No newline at end of file +include pyproject.toml +include custom-node-list.json +include extension-node-list.json +include extras.json +include github-stats.json +include model-list.json +include alter-list.json \ No newline at end of file diff --git a/comfyui_manager/legacy/manager_server.py b/comfyui_manager/legacy/manager_server.py index 448a5150..aa0c9ddf 100644 --- a/comfyui_manager/legacy/manager_server.py +++ b/comfyui_manager/legacy/manager_server.py @@ -992,6 +992,15 @@ def populate_markdown(x): x['title'] = manager_util.sanitize_tag(x['title']) +@routes.get("/v2/manager/is_legacy_manager_ui") +async def is_legacy_manager_ui(request): + return web.json_response( + {"is_legacy_manager_ui": args.enable_manager_legacy_ui}, + content_type="application/json", + status=200, + ) + + # freeze imported version startup_time_installed_node_packs = core.get_installed_node_packs() @routes.get("/v2/customnode/installed")