mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-01-02 10:10:49 +08:00
fix: ssl verify
This commit is contained in:
parent
ac948fb6b9
commit
9831c96f2c
@ -367,7 +367,7 @@ def git_pull(path):
|
|||||||
async def get_data(uri):
|
async def get_data(uri):
|
||||||
print(f"FETCH DATA from: {uri}")
|
print(f"FETCH DATA from: {uri}")
|
||||||
if uri.startswith("http"):
|
if uri.startswith("http"):
|
||||||
async with aiohttp.ClientSession(trust_env=True) as session:
|
async with aiohttp.ClientSession(trust_env=True, connector=aiohttp.TCPConnector(verify_ssl=False)) as session:
|
||||||
async with session.get(uri) as resp:
|
async with session.get(uri) as resp:
|
||||||
json_text = await resp.text()
|
json_text = await resp.text()
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user