remove intercept

This commit is contained in:
加里
2014-09-11 16:17:41 +08:00
parent 1ddc63cc41
commit 7b38c91d9f
4 changed files with 5 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ function checkRootCA(){
if(!isRootCAFileExists()){
console.log(color.red("can not find rootCA.crt or rootCA.key"));
console.log(color.red("you may generate one by the following methods"));
console.log(color.red("\twhen using globally : anyproxy --root"));
console.log(color.red("\twhen using globally : sudo anyproxy --root"));
console.log(color.red("\twhen using as a module : require(\"anyproxy\").generateRootCA();"));
process.exit(0);
}

View File

@@ -41,7 +41,7 @@ module.exports = {
},
shouldInterceptHttpsReq :function(req){
return true;
return false;
}
};