FIXED: Resolved an issue where the nightly version was always blocked by the security filter.
FIXED: Ensured that at least one reload occurs during startup. https://github.com/ltdrdata/ComfyUI-Manager/issues/1437
This commit is contained in:
@@ -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('reference')]
|
||||
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}")
|
||||
@@ -1414,6 +1414,10 @@ async def default_cache_update():
|
||||
|
||||
await asyncio.gather(a, b, c, d, e)
|
||||
|
||||
# load at least once
|
||||
await core.unified_manager.reload('cache')
|
||||
await core.unified_manager.get_custom_nodes('default', 'cache')
|
||||
|
||||
# NOTE: hide migration button temporarily.
|
||||
# if not core.get_config()['skip_migration_check']:
|
||||
# await core.check_need_to_migrate()
|
||||
|
||||
Reference in New Issue
Block a user