fix: 尝试修复aiohttp请求时的代理配置 #21

This commit is contained in:
helloplhm-qwq
2024-01-13 01:09:19 +08:00
parent 068dc5ab89
commit 5fb8913704
2 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@ async def run_app():
async def initMain():
await scheduler.run()
variable.aioSession = aiohttp.ClientSession()
variable.aioSession = aiohttp.ClientSession(trust_env=True)
try:
await run_app()
logger.info("服务器启动成功请按下Ctrl + C停止")