更新 AsterDex 客户端,禁用 TLS 证书验证以解决连接问题。

This commit is contained in:
discountry
2025-09-25 09:32:51 +08:00
parent bdcd3ca457
commit 911e0d4162
+2
View File
@@ -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/";