From 5fd08298c49a485daaba650094a8e8b6c04664c4 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Mon, 08 Sep 2025 09:45:18 +0800
Subject: [PATCH] 1
---
src/config/index.js | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/config/index.js b/src/config/index.js
index 6fef215..a7621d7 100644
--- a/src/config/index.js
+++ b/src/config/index.js
@@ -34,19 +34,20 @@
export const defaultSeconds = 1 * 24 * 60 * 60 * 1000
// const ENV_DEV = 'zhapi.coinbtcs.com' // dev
-const ENV_DEV = 'bingxapi.graborder.org' // dev
-// const ENV_DEV = '192.168.10.8:8086' // dev
+// const ENV_DEV = 'bingxapi.graborder.org' // dev
+const ENV_DEV = '192.168.10.5:8086' // dev
// const ENV_PRO = 'qheufhj.site' // app域名
+const ENV_PRO = '192.168.10.5:8086' // app域名
// const ENV_PRO = window.location.hostname // 接口域名跟随 H5zhapi.coinbtcs.com
-const ENV_PRO = 'bingxapi.graborder.org' // 接口域名跟随 H5zhapi.coinbtcs.com
+// const ENV_PRO = 'bingxapi.graborder.org' // 接口域名跟随 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 = 'ws://' + ENV_DEV + '/api/websocket'
} else {
host_url = 'https://' + ENV_PRO
--
Gitblit v1.9.3