mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-07-27 07:45:41 +00:00
commit for debug
This commit is contained in:
@@ -39,7 +39,6 @@ function getCertificate(hostname,cb){
|
||||
}
|
||||
|
||||
function createCert(hostname,callback){
|
||||
console.log(hostname);
|
||||
checkRootCA();
|
||||
|
||||
var cmd = "./gen-cer __host __path".replace(/__host/,hostname).replace(/__path/,certDir);
|
||||
|
@@ -4,7 +4,6 @@ module.exports = {
|
||||
},
|
||||
|
||||
shouldUseLocalResponse : function(req,reqBody){
|
||||
|
||||
//intercept all options request
|
||||
if(req.method == "OPTIONS"){
|
||||
return true;
|
||||
@@ -42,7 +41,7 @@ module.exports = {
|
||||
},
|
||||
|
||||
shouldInterceptHttpsReq :function(req){
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user