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 @@ - - + +