update doc

This commit is contained in:
加里
2014-09-03 15:39:31 +08:00
parent 87167ab01d
commit bed132d7c5
3 changed files with 9 additions and 2 deletions

View File

@@ -1,4 +1,8 @@
module.exports = {
summary:function(){
console.log("this is the default rule for anyproxy, which supports CORS request");
},
shouldUseLocalResponse : function(req,reqBody){
//intercept all options request
if(req.method == "OPTIONS"){