Recognize is.4chan.org files as from 4chan for purposes of error handling. #1141
This commit is contained in:
parent
645301f263
commit
3de942aab0
@ -34,7 +34,7 @@ ImageCommon =
|
||||
return true
|
||||
|
||||
isFromArchive: (file) ->
|
||||
file.src.split('/')[2] isnt 'i.4cdn.org'
|
||||
file.src.split('/')[2] not in ['i.4cdn.org', 'is.4chan.org']
|
||||
|
||||
error: (file, post, delay, cb) ->
|
||||
src = post.file.url.split '/'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user