fix exception (#819)

This commit is contained in:
Sofie 2023-12-17 02:13:19 +07:00 committed by GitHub
parent 10a477c2bd
commit ff9144ef54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,6 +57,7 @@ class CloudflareKiller : Interceptor {
if(!(response.header("Server") in CLOUDFLARE_SERVERS && response.code in ERROR_CODES)) {
return@runBlocking response
} else {
response.close()
bypassCloudflare(request)?.let {
Log.d(TAG, "Succeeded bypassing cloudflare: ${request.url}")
return@runBlocking it