From a076b0c24bc07220d14b9a90f046f2bd5b2a19d5 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Thu, 11 Sep 2025 06:58:54 +0800
Subject: [PATCH] 1
---
src/config/index.js | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/config/index.js b/src/config/index.js
index bcbb6f1..3ba01aa 100644
--- a/src/config/index.js
+++ b/src/config/index.js
@@ -35,20 +35,20 @@
// const ENV_DEV = 'zhapi.coinbtcs.com' // dev
// const ENV_DEV = 'openapi.yanshiz.com' // dev
-const ENV_DEV = 'api.cme-coin.com' // dev
-// const ENV_DEV = '192.168.10.6:8086' // dev
+// const ENV_DEV = 'api.cme-coin.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 = 'api.cme-coin.com' // 接口域名跟随 H5zhapi.coinbtcs.com
-// const ENV_PRO = '192.168.10.6:8086' // 接口域名跟随 H5zhapi.coinbtcs.com
+// const ENV_PRO = 'api.cme-coin.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 = 'https://' + ENV_DEV
- base_url = 'https://' + ENV_DEV
+ host_url = 'http://' + ENV_DEV
+ base_url = 'http://' + ENV_DEV
ws_url = 'wss://' + ENV_DEV + '/api/websocket'
} else {
host_url = 'https://' + ENV_PRO
--
Gitblit v1.9.3