From 179090382fee2e1dc23921c7b2ef0b7af135b213 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8A=A0=E9=87=8C?= Date: Thu, 11 Sep 2014 12:04:06 +0800 Subject: [PATCH] recover sample rule --- package.json | 2 +- rule_sample/rule_intercept_some_https_requests.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 651c069..c63fd37 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "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.", "main": "proxy.js", "bin": { diff --git a/rule_sample/rule_intercept_some_https_requests.js b/rule_sample/rule_intercept_some_https_requests.js index 5ee36fc..10468b4 100644 --- a/rule_sample/rule_intercept_some_https_requests.js +++ b/rule_sample/rule_intercept_some_https_requests.js @@ -15,6 +15,7 @@ module.exports = { //intercept https://github.com/ //otherwise, all the https traffic will not go through this proxy + // return true; if(req.headers.host == "github.com"){ return true; }else{