mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-08-04 21:39:04 +00:00
update doc
This commit is contained in:
@@ -5,6 +5,10 @@ var LOCAL_IMAGE = "/Users/path/to/image.png";
|
||||
|
||||
module.exports = {
|
||||
|
||||
summary:function(){
|
||||
return "replace all the images with local one";
|
||||
},
|
||||
|
||||
//mark if use local response
|
||||
shouldUseLocalResponse : function(req,reqBody){
|
||||
if(/\.(png|gif|jpg|jpeg)$/.test(req.url)){
|
||||
|
||||
Reference in New Issue
Block a user