- 删除 debuger 代码

pull/1/head
sin 2019-03-10 16:48:22 +08:00
parent 649d76acdd
commit a73b3a472d
1 changed files with 0 additions and 4 deletions

View File

@ -19,13 +19,9 @@ function basePathBuilder(proxys, 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;
if (basePath) {
proxys = basePathBuilder(proxys, basePath);
}
console.log('proxys------>', proxys);
return proxys;
}