Move annotation

Co-authored-by: FourTOne5 <107297513+FourTOne5@users.noreply.github.com>
This commit is contained in:
Chopper 2024-11-20 12:29:40 -03:00 committed by GitHub
parent da3ad2e4f1
commit f7d3f8344b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,8 +28,8 @@ class MugiwarasOficial : Madara(
override val mangaDetailsSelectorStatus = "div.summary-heading:contains(Estado) + .summary-content"
private fun OkHttpClient.Builder.ignoreAllSSLErrors(): OkHttpClient.Builder {
val naiveTrustManager = @SuppressLint("CustomX509TrustManager")
object : X509TrustManager {
@SuppressLint("CustomX509TrustManager")
val naiveTrustManager = object : X509TrustManager {
override fun getAcceptedIssuers(): Array<X509Certificate> = emptyArray()
override fun checkClientTrusted(certs: Array<X509Certificate>, authType: String) = Unit
override fun checkServerTrusted(certs: Array<X509Certificate>, authType: String) = Unit