- 删除 debuger 代码
This commit is contained in:
parent
649d76acdd
commit
a73b3a472d
@ -19,13 +19,9 @@ function basePathBuilder(proxys, basePath) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default function(NODE_ENV, basePath) {
|
export default function(NODE_ENV, basePath) {
|
||||||
console.log('development', NODE_ENV === 'development');
|
|
||||||
console.log('undefined', NODE_ENV === 'undefined');
|
|
||||||
console.log(NODE_ENV);
|
|
||||||
let proxys = NODE_ENV === 'development' || NODE_ENV === 'undefined' ? proxyDev : proxyProd;
|
let proxys = NODE_ENV === 'development' || NODE_ENV === 'undefined' ? proxyDev : proxyProd;
|
||||||
if (basePath) {
|
if (basePath) {
|
||||||
proxys = basePathBuilder(proxys, basePath);
|
proxys = basePathBuilder(proxys, basePath);
|
||||||
}
|
}
|
||||||
console.log('proxys------>', proxys);
|
|
||||||
return proxys;
|
return proxys;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user