From 911e0d41627ab19a2cee7bee99548face0503d09 Mon Sep 17 00:00:00 2001 From: discountry Date: Thu, 25 Sep 2025 09:32:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20AsterDex=20=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E7=AB=AF=EF=BC=8C=E7=A6=81=E7=94=A8=20TLS=20=E8=AF=81?= =?UTF-8?q?=E4=B9=A6=E9=AA=8C=E8=AF=81=E4=BB=A5=E8=A7=A3=E5=86=B3=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/exchanges/aster/client.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/exchanges/aster/client.ts b/src/exchanges/aster/client.ts index 72da871..6a605ac 100644 --- a/src/exchanges/aster/client.ts +++ b/src/exchanges/aster/client.ts @@ -11,6 +11,8 @@ import type { PositionSide, } from "../types"; +process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"; + const REST_BASE = "https://fapi.asterdex.com"; const WS_PUBLIC_URL = "wss://fstream.asterdex.com/ws"; const WS_LISTEN_KEY_URL = "wss://fstream.asterdex.com/ws/";