fix: nightly url mismatch if ssh github url is used

fix: don't show pure cnr node unless default channel
This commit is contained in:
Dr.Lt.Data
2024-08-15 23:44:12 +09:00
parent 0968dd85aa
commit e906d27606
2 changed files with 61 additions and 51 deletions

View File

@@ -1709,7 +1709,7 @@ import asyncio
async def default_cache_update():
async def get_cache(filename):
uri = 'https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/' + filename
uri = f"{core.DEFAULT_CHANNEL}/{filename}"
cache_uri = str(manager_util.simple_hash(uri)) + '_' + filename
cache_uri = os.path.join(core.cache_dir, cache_uri)