From bf618a5681372a9b55a885eaefba9357a5b932ce Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Tue, 18 Mar 2025 10:35:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9F=9F=E5=90=8D?= 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 | 6 +++--- src/utils/consts.js | 8 ++++---- src/views/home/index.vue | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/config/index.js b/config/index.js index a761ff2..3b36a03 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://glhd.globalsecu.com/', + target: 'https://glhd.globalsecus.com/', changeOrigin: true, // pathRewrite: { // // 请求时 将api替换成实际的apis等 diff --git a/src/api/server/index.js b/src/api/server/index.js index 0b7274b..9995cff 100644 --- a/src/api/server/index.js +++ b/src/api/server/index.js @@ -57,7 +57,7 @@ const headers = Object.assign({ Object.assign(settings, { // api请求根地址 打包使用完整地址 调试使用本地服务器代理 避免跨域 - baseURL: process.env.NODE_ENV == 'production' ? 'https://glhd.globalsecu.com/api/' : '/api/', + baseURL: process.env.NODE_ENV == 'production' ? 'https://glhd.globalsecus.com/api/' : '/api/', // baseURL: 'https://djs.jedcoin.com/api/', // 加载超时限定5s diff --git a/src/index.html b/src/index.html index 70b0ef5..4758c98 100644 --- a/src/index.html +++ b/src/index.html @@ -69,13 +69,13 @@ - +