parent
63c57ec13e
commit
d97962de20
|
@ -2,4 +2,4 @@ plugins {
|
|||
id("lib-multisrc")
|
||||
}
|
||||
|
||||
baseVersionCode = 3
|
||||
baseVersionCode = 4
|
||||
|
|
|
@ -91,7 +91,7 @@ abstract class LectorTmo(
|
|||
}
|
||||
|
||||
private val ignoreSslClient: OkHttpClient by lazy {
|
||||
network.client.newBuilder()
|
||||
network.cloudflareClient.newBuilder()
|
||||
.ignoreAllSSLErrors()
|
||||
.followRedirects(false)
|
||||
.rateLimit(
|
||||
|
@ -103,7 +103,7 @@ abstract class LectorTmo(
|
|||
|
||||
private var lastCFDomain: String = ""
|
||||
override val client: OkHttpClient by lazy {
|
||||
network.client.newBuilder()
|
||||
network.cloudflareClient.newBuilder()
|
||||
.addInterceptor { chain ->
|
||||
val request = chain.request()
|
||||
val url = request.url
|
||||
|
|
Loading…
Reference in New Issue