Skip to content

Commit c1fe2da

Browse files
authored
Fix/failing thumbnail requests with http 410 (#955)
* Refresh thumbnail url on 410 error * Refresh thumbnail url on 301 error
1 parent ff23f58 commit c1fe2da

File tree

1 file changed

+2
-0
lines changed
  • server/src/main/kotlin/suwayomi/tachidesk/manga/impl

1 file changed

+2
-0
lines changed

server/src/main/kotlin/suwayomi/tachidesk/manga/impl/Manga.kt

+2
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,8 @@ object Manga {
293293
val tryToRefreshUrl =
294294
!refreshUrl &&
295295
listOf(
296+
HttpCode.GONE.status,
297+
HttpCode.MOVED_PERMANENTLY.status,
296298
HttpCode.NOT_FOUND.status,
297299
523, // (Cloudflare) Origin Is Unreachable
298300
522, // (Cloudflare) Connection timed out

0 commit comments

Comments
 (0)