mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2026-07-23 20:47:08 +08:00
add is_legacy_manager_ui endpoint
This commit is contained in:
parent
c4edfbc374
commit
d0a6bdaac0
@ -991,6 +991,13 @@ def populate_markdown(x):
|
||||
if 'title' in 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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user