From 4e060ba04e97107a4b000e0232c818912a83e9d0 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Tue, 08 Jul 2025 20:08:03 +0800
Subject: [PATCH] style
---
src/config/index.js | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/config/index.js b/src/config/index.js
index b19d956..5c924a8 100644
--- a/src/config/index.js
+++ b/src/config/index.js
@@ -34,18 +34,22 @@
export const defaultSeconds = 1 * 24 * 60 * 60 * 1000
// const ENV_DEV = 'zhapi.coinbtcs.com' // dev
-const ENV_DEV = 'openapi.yanshiz.com' // dev
+// const ENV_DEV = 'openapi.yanshiz.com' // dev
+// const ENV_DEV = '192.168.10.24:8086' // dev
+const ENV_DEV = 'aa.yanshiz.com' // 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 = 'openapi.yanshiz.com' // 接口域名跟随 H5zhapi.coinbtcs.com
+const ENV_PRO = '192.168.10.18:8086' // 接口域名跟随 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
+ host_url = 'https://' + ENV_DEV
+ base_url = 'https://' + ENV_DEV
ws_url = 'ws://' + ENV_DEV + '/api/websocket'
} else {
host_url = 'https://' + ENV_PRO
--
Gitblit v1.9.3