ignore urls starting with /r/
This commit is contained in:
parent
d7c1d88ef4
commit
dbe86258d7
|
@ -181,6 +181,9 @@ module.exports = function(request, fs) {
|
|||
}
|
||||
|
||||
this.isGif = (url) => {
|
||||
if(url.startsWith('/r/'))
|
||||
return false
|
||||
|
||||
try {
|
||||
url = new URL(url)
|
||||
let pathname = url.pathname
|
||||
|
|
Loading…
Reference in New Issue