fixed: cnr_utils – fixed improper behavior of bypass_ssl

https://github.com/Comfy-Org/ComfyUI-Manager/issues/2017
This commit is contained in:
Dr.Lt.Data
2025-07-24 02:15:31 +09:00
parent fb48d1b485
commit cc6817a891
4 changed files with 12 additions and 9 deletions

View File

@@ -23,7 +23,7 @@ comfyui_manager_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '
cache_dir = os.path.join(comfyui_manager_path, '.cache') # This path is also updated together in **manager_core.update_user_directory**.
use_uv = False
bypass_ssl = False
def add_python_path_to_env():
if platform.system() != "Windows":
@@ -136,7 +136,7 @@ async def get_data(uri, silent=False):
print(f"FETCH DATA from: {uri}", end="")
if uri.startswith("http"):
async with aiohttp.ClientSession(trust_env=True, connector=aiohttp.TCPConnector(verify_ssl=False)) as session:
async with aiohttp.ClientSession(trust_env=True, connector=aiohttp.TCPConnector(verify_ssl=not bypass_ssl)) as session:
headers = {
'Cache-Control': 'no-cache',
'Pragma': 'no-cache',