mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-04-23 16:01:26 +00:00
recover sample rule
This commit is contained in:
parent
3319b91934
commit
179090382f
@ -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": {
|
||||||
|
@ -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{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user