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