mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-11 17:28:08 +00:00
更新 AsterDex 客户端,禁用 TLS 证书验证以解决连接问题。
This commit is contained in:
@@ -11,6 +11,8 @@ import type {
|
|||||||
PositionSide,
|
PositionSide,
|
||||||
} from "../types";
|
} from "../types";
|
||||||
|
|
||||||
|
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
|
||||||
|
|
||||||
const REST_BASE = "https://fapi.asterdex.com";
|
const REST_BASE = "https://fapi.asterdex.com";
|
||||||
const WS_PUBLIC_URL = "wss://fstream.asterdex.com/ws";
|
const WS_PUBLIC_URL = "wss://fstream.asterdex.com/ws";
|
||||||
const WS_LISTEN_KEY_URL = "wss://fstream.asterdex.com/ws/";
|
const WS_LISTEN_KEY_URL = "wss://fstream.asterdex.com/ws/";
|
||||||
|
|||||||
Reference in New Issue
Block a user