From a9c0114bd0fa33e2c4dd3dccce4bad7879c26810 Mon Sep 17 00:00:00 2001 From: admilk <78579687+Admilkk@users.noreply.github.com> Date: Sat, 4 May 2024 11:19:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DEnkaApi=E4=BB=A3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 来自QQ用户 1035380945 --- models/serv/api/EnkaApi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/serv/api/EnkaApi.js b/models/serv/api/EnkaApi.js index b46ad848..52f37b4e 100644 --- a/models/serv/api/EnkaApi.js +++ b/models/serv/api/EnkaApi.js @@ -18,7 +18,7 @@ export default { HttpsProxyAgent = await import('https-proxy-agent').catch((err) => { logger.error(err) }) - HttpsProxyAgent = HttpsProxyAgent ? HttpsProxyAgent.HttpsProxyAgent : undefined + HttpsProxyAgent = HttpsProxyAgent ? HttpsProxyAgent.default : undefined } if (HttpsProxyAgent) { params.agent = new HttpsProxyAgent(proxy)