mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-08-04 21:39:04 +00:00
add ui config server
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user