提交 3dc476c1 编写于 作者: M maguohua

api proxy bug

上级 7218cc02
......@@ -42,6 +42,7 @@ module.exports = {
'/payapi',
'/admin',
'/statis',
'/img',
],
// CSS Sourcemaps off by default because relative paths are "buggy"
// with this option, according to the CSS-Loader README
......
......@@ -11,10 +11,10 @@ let routerMode = 'history';
let baseImgPath;
if (process.env.NODE_ENV == 'development') {
baseUrl = 'http://localhost:8001';
baseImgPath = 'http://localhost:8001/img/';
baseUrl = 'http://localhost:8002';
baseImgPath = 'http://localhost:8002/img/';
}else{
baseUrl = 'http://cangdu.org:8001';
baseUrl = 'http://cangdu.org:8001';
baseImgPath = 'http://cangdu.org:8001/img/';
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册