recover sample rule

This commit is contained in:
加里 2014-09-11 12:04:06 +08:00
parent 3319b91934
commit 179090382f
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "anyproxy", "name": "anyproxy",
"version": "2.3.1", "version": "2.3.3",
"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": {

View File

@ -15,6 +15,7 @@ module.exports = {
//intercept https://github.com/ //intercept https://github.com/
//otherwise, all the https traffic will not go through this proxy //otherwise, all the https traffic will not go through this proxy
// return true;
if(req.headers.host == "github.com"){ if(req.headers.host == "github.com"){
return true; return true;
}else{ }else{