From b99e3f4914bed3beee0ed27e0a1bff142975e64d Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Sun, 25 Jan 2026 15:06:19 +0800
Subject: [PATCH] ip
---
src/config/index.js | 4 ++--
vite.config.js | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/config/index.js b/src/config/index.js
index 44ec738..862fa88 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 = 'api.mak-web3.com' // dev
+const ENV_DEV = 'zhapi.datacme.com' // 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 = "api.mak-web3.com"
+const ENV_PRO = "zhapi.datacme.com"
// 避免打包出错务必把 app域名的注释要放在在本地ENV_PRO的下面
// const ENV_PRO = 'foilwm.com' // app域名
diff --git a/vite.config.js b/vite.config.js
index 98fc624..bf32cd9 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -61,8 +61,8 @@
// 关键:用正则表达式匹配所有含/api的路径(忽略大小写)
'^/api.*': { // 匹配以/api开头的任何路径(如/api、/api/xxx、/api?xx等)
// target: 'http://154.23.189.28:8086',
- target:'https://api.mak-web3.com',
- // target:'https://api.mak-web3.com',
+ target:'https://zhapi.datacme.com',
+ // target:'https://zhapi.datacme.com',
// target: 'https://by2.cccxxx.cc',
changeOrigin: true,
secure: false,
--
Gitblit v1.9.3