mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-04 21:06:03 +00:00
fix: github下载未使用环境变量代理
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user