diff --git a/astrbot/core/core_lifecycle.py b/astrbot/core/core_lifecycle.py index e5630d017..0289c4d1a 100644 --- a/astrbot/core/core_lifecycle.py +++ b/astrbot/core/core_lifecycle.py @@ -27,7 +27,8 @@ class AstrBotCoreLifecycle: os.environ['https_proxy'] = self.astrbot_config['http_proxy'] os.environ['http_proxy'] = self.astrbot_config['http_proxy'] - + os.environ['no_proxy'] = 'localhost,127.0.0.1' + async def initialize(self): logger.info("AstrBot v"+ VERSION) if os.environ.get("TESTING", ""):