From 214cb5e7122dca4dcdfef254ec202dad65c6deef Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Tue, 11 Jun 2024 14:41:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 2 +- src/api/server/index.js | 2 +- src/index.html | 10 +++++----- src/utils/consts.js | 10 +++++----- src/views/home/index.vue | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/config/index.js b/config/index.js index 87a636b..7c68fc9 100644 --- a/config/index.js +++ b/config/index.js @@ -24,7 +24,7 @@ module.exports = { '/api': { // target: 'http://qkladmin2.ruanmeng.top/', // target: 'https://guanli.coin.amatak.net/', - target: 'https://btc.btcoinmt.com/', + target: 'http://btc.btcach.com/', changeOrigin: true, // pathRewrite: { // // 请求时 将api替换成实际的apis等 diff --git a/src/api/server/index.js b/src/api/server/index.js index 8ce3718..a3061df 100644 --- a/src/api/server/index.js +++ b/src/api/server/index.js @@ -57,7 +57,7 @@ console.log(process.env.NODE_ENV) Object.assign(settings, { // api请求根地址 打包使用完整地址 调试使用本地服务器代理 避免跨域 - baseURL: process.env.NODE_ENV == 'production' ? 'https://btc.btcoinmt.com/api/' : '/api/', + baseURL: process.env.NODE_ENV == 'production' ? 'http://btc.btcach.com/api/' : '/api/', // baseURL: 'https://djs.jedcoin.com/api/', // 加载超时限定5s diff --git a/src/index.html b/src/index.html index 6b8e640..ffe6f19 100644 --- a/src/index.html +++ b/src/index.html @@ -21,7 +21,7 @@ for (var i = 0; i < mobileAgent.length; i++) { if (browser.indexOf(mobileAgent[i]) != -1) { //todo 手机版跳转 - window.location.href = 'https://app.btcoinmt.com'; + window.location.href = 'https://app.btcach.com'; break; } } @@ -68,14 +68,14 @@ - - + +