This commit is contained in:
HJ 2023-02-26 18:45:38 +08:00
commit 5a90664db8
3 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ module.exports = {
// 代理列表, 是否开启代理通过[./dev.env.js]配置
proxyTable: devEnv.OPEN_PROXY === false ? {} : {
'/proxyApi': {
target: 'http://localhost8080/project-fast/',
target: 'http://localhost:8080/project-fast/',
changeOrigin: true,
pathRewrite: {
'^/proxyApi': '/'

View File

@ -5,7 +5,7 @@
window.SITE_CONFIG = {};
// api接口请求地址
window.SITE_CONFIG["baseUrl"] = "wxapi.linfeng.tech";
window.SITE_CONFIG["baseUrl"] = "";
// cdn地址 = 域名 + 版本号
window.SITE_CONFIG["domain"] = "./"; // 域名

View File

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