From 8399c6d4250306b27474157012be241f4c86c8a0 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Tue, 15 Jul 2025 16:29:53 +0800
Subject: [PATCH] 外汇交易

---
 src/config/index.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/config/index.js b/src/config/index.js
index 7e0481d..5deddf3 100644
--- a/src/config/index.js
+++ b/src/config/index.js
@@ -35,7 +35,7 @@
 
 // const ENV_DEV = 'zhapi.coinbtcs.com' // dev
 // const ENV_DEV = 'openapi.yanshiz.com' // dev
-const ENV_DEV = 'starex.agtls.com' // dev
+const ENV_DEV = import.meta.env.VITE_API_DOMAIN || 'starexapi.agtls.com' // devss
 // const ENV_DEV = '192.168.10.24:8086' // dev
 // const ENV_DEV = 'aa.yanshiz.com' // dev
 
@@ -43,7 +43,7 @@
 // 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 = 'starex.agtls.com' // 接口域名跟随 H5zhapi.coinbtcs.com
+const ENV_PRO = import.meta.env.VITE_API_DOMAIN || 'starexapi.agtls.com' // 接口域名跟随
 
 let base_url = ''
 let ws_url = ''
@@ -61,7 +61,7 @@
 export const WS_URL = ws_url
 export const IMG_PATH = host_url
 // export const HOST_URL = host_url
-export const HOST_URL = 'https://forex.yanshiz.com'; // 静态资源地址
+export const HOST_URL = 'https://starex.agtls.com'; // 静态资源地址
 
 export default {
     sliderOptions: {

--
Gitblit v1.9.3