From 2a180832e728d1cb7e027abfd7977fba1db2559e Mon Sep 17 00:00:00 2001 From: jferdous70 <83420659+jferdous70@users.noreply.github.com> Date: Fri, 4 Feb 2022 05:28:28 -0500 Subject: [PATCH] Added Cloudflare client to Lanraragi (#10675) * Added Cloudflare client * Bumped ext version --- src/all/lanraragi/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/all/lanraragi/LANraragi.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/all/lanraragi/build.gradle b/src/all/lanraragi/build.gradle index e1a41484d..14cd3626a 100644 --- a/src/all/lanraragi/build.gradle +++ b/src/all/lanraragi/build.gradle @@ -6,7 +6,7 @@ ext { extName = 'LANraragi' pkgNameSuffix = 'all.lanraragi' extClass = '.LANraragi' - extVersionCode = 9 + extVersionCode = 10 } dependencies { diff --git a/src/all/lanraragi/src/eu/kanade/tachiyomi/extension/all/lanraragi/LANraragi.kt b/src/all/lanraragi/src/eu/kanade/tachiyomi/extension/all/lanraragi/LANraragi.kt index 136f517cd..81e23012a 100644 --- a/src/all/lanraragi/src/eu/kanade/tachiyomi/extension/all/lanraragi/LANraragi.kt +++ b/src/all/lanraragi/src/eu/kanade/tachiyomi/extension/all/lanraragi/LANraragi.kt @@ -447,7 +447,7 @@ class LANraragi : ConfigurableSource, HttpSource() { } // Headers (currently auth) are done in headersBuilder - override val client: OkHttpClient = network.client.newBuilder() + override val client: OkHttpClient = network.cloudflareClient.newBuilder() .dns(Dns.SYSTEM) .addInterceptor { chain -> val response = chain.proceed(chain.request())