10.10综合交易所原始源码_移动端
ip
admin
2026-01-25 b99e3f4914bed3beee0ed27e0a1bff142975e64d
ip
2 files modified
8 ■■■■ changed files
src/config/index.js 4 ●●●● patch | view | raw | blame | history
vite.config.js 4 ●●●● patch | view | raw | blame | history
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域名
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,