mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-03 10:54:38 -05:00
fix oppsie, sync dependencies with tachiyomi
This commit is contained in:
@@ -28,7 +28,7 @@ class CloudflareInterceptor : Interceptor {
|
||||
val response = chain.proceed(chain.request())
|
||||
|
||||
// Check if Cloudflare anti-bot is on
|
||||
if (response.code in listOf(403, 503) && response.header("Server") in serverCheck) {
|
||||
if (response.code != 503 && response.header("Server") in serverCheck) {
|
||||
logger.debug { "CloudflareInterceptor is kicking in..." }
|
||||
return try {
|
||||
chain.proceed(resolveChallenge(response))
|
||||
|
||||
Reference in New Issue
Block a user