提交 c8388d6e authored 作者: vipcxj's avatar vipcxj

fix: proxy config and release config

上级 8bb413e9
...@@ -23,10 +23,10 @@ const tripEndSlash = (path) => { ...@@ -23,10 +23,10 @@ const tripEndSlash = (path) => {
}; };
const contextPathDev = ''; const contextPathDev = '';
const contextPathProd = 'bm/console'; const contextPathProd = 'app/console';
const apiContextPathDev = ''; const apiContextPathDev = '';
const apiContextPathProd = 'bm'; const apiContextPathProd = 'app';
module.exports = { module.exports = {
dev: { dev: {
......
...@@ -2,7 +2,7 @@ const proxy = { ...@@ -2,7 +2,7 @@ const proxy = {
target: 'http://192.168.1.22:8080', target: 'http://192.168.1.22:8080',
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/api': '/bm/api', '^/api': '/app/api',
}, },
}; };
...@@ -10,7 +10,7 @@ const resourceProxy = { ...@@ -10,7 +10,7 @@ const resourceProxy = {
target: 'http://192.168.1.22:8080', target: 'http://192.168.1.22:8080',
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/resource': '/bm/resource', '^/resource': '/app/resource',
}, },
}; };
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论