fixed: source url of nightly should be repository not reference

This commit is contained in:
Dr.Lt.Data
2025-01-16 01:47:19 +09:00
parent 76b1adebc4
commit 03eea8ce15
3 changed files with 6 additions and 4 deletions

View File

@@ -867,7 +867,7 @@ async def install_custom_node(request):
node_spec_str = f"{cnr_id}@{selected_version}"
else:
node_spec_str = f"{cnr_id}@nightly"
git_url = [json_data.get('reference')]
git_url = [json_data.get('repository')]
if git_url is None:
logging.error(f"[ComfyUI-Manager] Following node pack doesn't provide `nightly` version: ${git_url}")
return web.Response(status=404, text=f"Following node pack doesn't provide `nightly` version: ${git_url}")