mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-04 11:24:35 -05:00
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 =
|
val tryToRefreshUrl =
|
||||||
!refreshUrl &&
|
!refreshUrl &&
|
||||||
listOf(
|
listOf(
|
||||||
|
HttpCode.GONE.status,
|
||||||
|
HttpCode.MOVED_PERMANENTLY.status,
|
||||||
HttpCode.NOT_FOUND.status,
|
HttpCode.NOT_FOUND.status,
|
||||||
523, // (Cloudflare) Origin Is Unreachable
|
523, // (Cloudflare) Origin Is Unreachable
|
||||||
522, // (Cloudflare) Connection timed out
|
522, // (Cloudflare) Connection timed out
|
||||||
|
|||||||
Reference in New Issue
Block a user