From b1a373f220bcafea8f41fa735b42d4eeafb2ee4e Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Wed, 22 Oct 2025 14:06:15 +0800
Subject: [PATCH] 2
---
src/config/index.js | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/src/config/index.js b/src/config/index.js
index e749d12..86d4b08 100644
--- a/src/config/index.js
+++ b/src/config/index.js
@@ -35,26 +35,28 @@
// const ENV_DEV = 'zhapi.coinbtcs.com' // dev
// const ENV_DEV = 'openapi.yanshiz.com' // dev
-const ENV_DEV = '192.168.10.6:8222' // dev
+const ENV_DEV = 'cmeapi.durocaspitall.com' // dev
+// const ENV_DEV = '192.168.10.12:8222' // dev
// const ENV_PRO = 'qheufhj.site' // app域名
// const ENV_PRO = window.location.hostname // 接口域名跟随 H5zhapi.coinbtcs.com
-const ENV_PRO = 'openapi.yanshiz.com' // 接口域名跟随 H5zhapi.coinbtcs.com
+const ENV_PRO = 'cmeapi.durocaspitall.com' // 接口域名跟随 H5zhapi.coinbtcs.com
+// const ENV_PRO = '192.168.10.12:8222' // 接口域名跟随 H5zhapi.coinbtcs.com
let base_url = ''
let ws_url = ''
let host_url = ''
if (import.meta.env.MODE === 'development') {
- host_url = 'http://' + ENV_DEV
- base_url = 'http://' + ENV_DEV
- ws_url = 'ws://' + ENV_DEV + '/api/websocket'
+ host_url = 'https://' + ENV_DEV
+ base_url = 'https://' + ENV_DEV
+ ws_url = 'wss://' + ENV_DEV + '/api/websocket'
} else {
host_url = 'https://' + ENV_PRO
base_url = 'https://' + ENV_PRO
ws_url = 'wss://' + ENV_PRO + '/api/websocket'
}
-let imgUrl = 'https://okxh5.yanshiz.com' // 暂时的 单独的图片地址
+let imgUrl = 'https://dapp.cme-coin.com' // 暂时的 单独的图片地址
export const BASE_URL = base_url
export const WS_URL = ws_url
--
Gitblit v1.9.3