mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-04-23 15:31:26 +00:00
remove intercept
This commit is contained in:
parent
1ddc63cc41
commit
7b38c91d9f
@ -10,4 +10,6 @@ echo "rootCA generated at :"
|
|||||||
pwd
|
pwd
|
||||||
echo "============="
|
echo "============="
|
||||||
|
|
||||||
|
chmod 666 rootCA.*
|
||||||
|
|
||||||
exit 0
|
exit 0
|
@ -68,7 +68,7 @@ function checkRootCA(){
|
|||||||
if(!isRootCAFileExists()){
|
if(!isRootCAFileExists()){
|
||||||
console.log(color.red("can not find rootCA.crt or rootCA.key"));
|
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("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();"));
|
console.log(color.red("\twhen using as a module : require(\"anyproxy\").generateRootCA();"));
|
||||||
process.exit(0);
|
process.exit(0);
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
shouldInterceptHttpsReq :function(req){
|
shouldInterceptHttpsReq :function(req){
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "anyproxy",
|
"name": "anyproxy",
|
||||||
"version": "2.3.5",
|
"version": "2.3.6",
|
||||||
"description": "a charles/fiddler like proxy written in NodeJs, which can handle HTTPS requests and CROS perfectly.",
|
"description": "a charles/fiddler like proxy written in NodeJs, which can handle HTTPS requests and CROS perfectly.",
|
||||||
"main": "proxy.js",
|
"main": "proxy.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user