diff --git a/config/index.js b/config/index.js index 58d0de3..aaa0b71 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://see.mhtcoin.info/', + target: 'https://see.mhtcoin.net/', changeOrigin: true, // pathRewrite: { // // 请求时 将api替换成实际的apis等 diff --git a/src/api/server/index.js b/src/api/server/index.js index 0fd30cc..ebfe649 100644 --- a/src/api/server/index.js +++ b/src/api/server/index.js @@ -59,7 +59,7 @@ Object.assign(settings, { // api请求根地址 打包使用完整地址 调试使用本地服务器代理 避免跨域 // baseURL: process.env.NODE_ENV == 'production' ? 'http://qkladmin2.ruanmeng.top/api/' : '/api/', // baseURL: process.env.NODE_ENV == 'production' ? 'https://guanli.coin.amatak.net/api/' : '/api/', - baseURL: process.env.NODE_ENV == 'production' ? 'https://see.mhtcoin.info/api/' : '/api/', + baseURL: process.env.NODE_ENV == 'production' ? 'https://see.mhtcoin.net/api/' : '/api/', // baseURL: 'https://aaccdd.kixcoin.org/api/' , // baseURL: 'https://guanli.coin.amatak.net/api/', // baseURL: 'https://api.hipc.world/', diff --git a/src/index.html b/src/index.html index acdf78e..d1b85de 100644 --- a/src/index.html +++ b/src/index.html @@ -24,11 +24,11 @@ console.log(window.location.href); if(window.location.href.indexOf('?invite_code=')!=-1){ let arr = (window.location.href.split('?'))[1]; - window.location.href = 'https://app.mhtcoin.info/#/pages/reg/index?'+arr; + window.location.href = 'https://app.mhtcoin.net/#/pages/reg/index?'+arr; // window.location.href = 'http://192.168.66.100:8082/#/pages/reg/index?'+arr; break; }else{ - window.location.href = 'https://app.mhtcoin.info'; + window.location.href = 'https://app.mhtcoin.net'; break; } @@ -77,13 +77,13 @@ - +