Recognize is.4chan.org files as from 4chan for purposes of error handling. #1141

This commit is contained in:
ccd0 2016-11-05 12:55:49 -07:00
parent 645301f263
commit 3de942aab0

View File

@ -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 '/'