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

@@ -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')