From f66eee1d038afc05f1a727db256ba5c6818f6fb4 Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Tue, 27 Jan 2026 15:35:51 +0800
Subject: [PATCH] 1
---
src/config/index.js | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/config/index.js b/src/config/index.js
index 862fa88..ab753d0 100644
--- a/src/config/index.js
+++ b/src/config/index.js
@@ -43,12 +43,12 @@
// const ENV_DEV = '127.0.0.1' // dev
// const ENV_DEV = '127.0.0.1:8086' // dev
-const ENV_DEV = 'zhapi.datacme.com' // dev
+const ENV_DEV = 'api.crypt.mom' // dev
// const ENV_PRO = window.location.hostname // 接口域名跟随 H5
// const ENV_PRO = "127.0.0.1"
// const ENV_PRO = "127.0.0.1:8086"
-const ENV_PRO = "zhapi.datacme.com"
+const ENV_PRO = "api.crypt.mom"
// 避免打包出错务必把 app域名的注释要放在在本地ENV_PRO的下面
// const ENV_PRO = 'foilwm.com' // app域名
@@ -56,8 +56,8 @@
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 = 'wss://' + ENV_DEV + '/api/websocket'
} else {
host_url = 'https://' + ENV_PRO
@@ -66,7 +66,7 @@
}
export const BASE_URL = base_url
export const WS_URL = ws_url
-export const IMG_PATH = host_url
+export const IMG_PATH = 'https://img.crypt.mom'
export const HOST_URL = host_url
export default {
--
Gitblit v1.9.3