Skip to content

Commit b72ea70

Browse files
committed
docs: added extra example for url.filter for a common scenario
1 parent 830fe2c commit b72ea70

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,11 @@ module.exports = {
161161
return false;
162162
}
163163

164+
// Don't handle images under root-relatve /external_images/
165+
if (/^\/external_images\//.test(path)) {
166+
return false;
167+
}
168+
164169
return true;
165170
},
166171
},

0 commit comments

Comments
 (0)