From 5184caa2062a74ada5f130c81d4ccd63b77e016c Mon Sep 17 00:00:00 2001 From: linfeng <2445465217@qq.com> Date: Thu, 23 Feb 2023 10:09:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/static/linfeng-community-vue/config/index.js | 2 +- .../static/linfeng-community-vue/static/config/index-prod.js | 2 +- .../static/linfeng-community-vue/static/config/index.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/static/linfeng-community-vue/config/index.js b/src/main/resources/static/linfeng-community-vue/config/index.js index 87d2419..03c9077 100644 --- a/src/main/resources/static/linfeng-community-vue/config/index.js +++ b/src/main/resources/static/linfeng-community-vue/config/index.js @@ -14,7 +14,7 @@ module.exports = { // 代理列表, 是否开启代理通过[./dev.env.js]配置 proxyTable: devEnv.OPEN_PROXY === false ? {} : { '/proxyApi': { - target: 'http://localhost:8080/project-fast/', + target: 'http://localhost:8080/project-fast/', changeOrigin: true, pathRewrite: { '^/proxyApi': '/' diff --git a/src/main/resources/static/linfeng-community-vue/static/config/index-prod.js b/src/main/resources/static/linfeng-community-vue/static/config/index-prod.js index 70e6003..63da985 100644 --- a/src/main/resources/static/linfeng-community-vue/static/config/index-prod.js +++ b/src/main/resources/static/linfeng-community-vue/static/config/index-prod.js @@ -5,7 +5,7 @@ window.SITE_CONFIG = {}; // api接口请求地址 - window.SITE_CONFIG["baseUrl"] = "wxapi.linfeng.tech"; + window.SITE_CONFIG["baseUrl"] = ""; // cdn地址 = 域名 + 版本号 window.SITE_CONFIG["domain"] = "./"; // 域名 diff --git a/src/main/resources/static/linfeng-community-vue/static/config/index.js b/src/main/resources/static/linfeng-community-vue/static/config/index.js index 1add68f..6cd805b 100644 --- a/src/main/resources/static/linfeng-community-vue/static/config/index.js +++ b/src/main/resources/static/linfeng-community-vue/static/config/index.js @@ -5,8 +5,8 @@ window.SITE_CONFIG = {}; // api接口请求地址 - // window.SITE_CONFIG["baseUrl"] = "http://localhost:8080"; - window.SITE_CONFIG["baseUrl"] = "wxapi.linfeng.tech"; + window.SITE_CONFIG["baseUrl"] = "http://localhost:8080"; + // window.SITE_CONFIG["baseUrl"] = ""; // cdn地址 = 域名 + 版本号 window.SITE_CONFIG["domain"] = "./"; // 域名