update doc

This commit is contained in:
加里
2014-10-21 14:49:13 +08:00
parent 331bb8067d
commit 64658975d8
3 changed files with 9 additions and 15 deletions

View File

@@ -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)){