From b37eef5a0807a8f5688e2112591cb80a3ba333e4 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Tue, 08 Jul 2025 22:31:48 +0800
Subject: [PATCH] style
---
src/config/index.js | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/config/index.js b/src/config/index.js
index 5c924a8..2dd6213 100644
--- a/src/config/index.js
+++ b/src/config/index.js
@@ -42,7 +42,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 = '192.168.10.18:8086' // 接口域名跟随 H5zhapi.coinbtcs.com
+const ENV_PRO = 'aa.yanshiz.com' // 接口域名跟随 H5zhapi.coinbtcs.com
let base_url = ''
let ws_url = ''
@@ -50,7 +50,7 @@
if (import.meta.env.MODE === 'development') {
host_url = 'https://' + ENV_DEV
base_url = 'https://' + ENV_DEV
- ws_url = 'ws://' + ENV_DEV + '/api/websocket'
+ ws_url = 'wss://' + ENV_DEV + '/api/websocket'
} else {
host_url = 'https://' + ENV_PRO
base_url = 'https://' + ENV_PRO
@@ -59,7 +59,8 @@
export const BASE_URL = base_url
export const WS_URL = ws_url
export const IMG_PATH = host_url
-export const HOST_URL = host_url
+// export const HOST_URL = host_url
+export const HOST_URL = 'https://forex.yanshiz.com'; // 静态资源地址
export default {
sliderOptions: {
--
Gitblit v1.9.3