mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 10:22:47 +01:00
Move annotation
Co-authored-by: FourTOne5 <107297513+FourTOne5@users.noreply.github.com>
This commit is contained in:
parent
da3ad2e4f1
commit
f7d3f8344b
@ -28,8 +28,8 @@ class MugiwarasOficial : Madara(
|
|||||||
override val mangaDetailsSelectorStatus = "div.summary-heading:contains(Estado) + .summary-content"
|
override val mangaDetailsSelectorStatus = "div.summary-heading:contains(Estado) + .summary-content"
|
||||||
|
|
||||||
private fun OkHttpClient.Builder.ignoreAllSSLErrors(): OkHttpClient.Builder {
|
private fun OkHttpClient.Builder.ignoreAllSSLErrors(): OkHttpClient.Builder {
|
||||||
val naiveTrustManager = @SuppressLint("CustomX509TrustManager")
|
@SuppressLint("CustomX509TrustManager")
|
||||||
object : X509TrustManager {
|
val naiveTrustManager = object : X509TrustManager {
|
||||||
override fun getAcceptedIssuers(): Array<X509Certificate> = emptyArray()
|
override fun getAcceptedIssuers(): Array<X509Certificate> = emptyArray()
|
||||||
override fun checkClientTrusted(certs: Array<X509Certificate>, authType: String) = Unit
|
override fun checkClientTrusted(certs: Array<X509Certificate>, authType: String) = Unit
|
||||||
override fun checkServerTrusted(certs: Array<X509Certificate>, authType: String) = Unit
|
override fun checkServerTrusted(certs: Array<X509Certificate>, authType: String) = Unit
|
||||||
|
Loading…
Reference in New Issue
Block a user