mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-16 11:42:44 +08:00
fix: github下载未使用环境变量代理
This commit is contained in:
parent
e44df0a3dd
commit
2819da5f2f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user