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"] = "./"; // 域名