Fix/failing thumbnail requests with http 410 (#955)
* Refresh thumbnail url on 410 error * Refresh thumbnail url on 301 error
This commit is contained in:
@@ -293,6 +293,8 @@ object Manga {
|
||||
val tryToRefreshUrl =
|
||||
!refreshUrl &&
|
||||
listOf(
|
||||
HttpCode.GONE.status,
|
||||
HttpCode.MOVED_PERMANENTLY.status,
|
||||
HttpCode.NOT_FOUND.status,
|
||||
523, // (Cloudflare) Origin Is Unreachable
|
||||
522, // (Cloudflare) Connection timed out
|
||||
|
||||
Reference in New Issue
Block a user