fix: github下载未使用环境变量代理

This commit is contained in:
Junyan Qin 2024-11-09 18:09:39 +08:00
parent e44df0a3dd
commit 2819da5f2f

View File

@ -51,7 +51,7 @@ class GitHubRepoInstaller(installer.PluginInstaller):
zip_resp: bytes = None
async with aiohttp.ClientSession() as session:
async with aiohttp.ClientSession(trust_env=True) as session:
async with session.get(
url=zipball_url,
timeout=aiohttp.ClientTimeout(total=300)