fix: remove redundant endpoint

https://github.com/ltdrdata/ComfyUI-Manager/issues/855
This commit is contained in:
Dr.Lt.Data
2024-07-11 23:44:29 +09:00
parent 5509734a10
commit 27253481ae
3 changed files with 2 additions and 8 deletions

View File

@@ -23,7 +23,7 @@ sys.path.append(glob_path)
import cm_global
from manager_util import *
version = [2, 46, 2]
version = [2, 46, 3]
version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '')

View File

@@ -579,12 +579,6 @@ async def fetch_externalmodel_list(request):
return web.json_response(json_obj, content_type='application/json')
@PromptServer.instance.routes.get("/snapshot/get_current")
async def get_snapshot_list(request):
json_obj = core.get_current_snapshot()
return web.json_response(json_obj, content_type='application/json')
@PromptServer.instance.routes.get("/snapshot/getlist")
async def get_snapshot_list(request):
snapshots_directory = os.path.join(core.comfyui_manager_path, 'snapshots')