add ui config server

This commit is contained in:
加里
2014-09-11 10:22:08 +08:00
parent bc5659b14f
commit b51236d678
14 changed files with 604 additions and 40 deletions

View File

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