diff --git a/src/en/mangahere/build.gradle b/src/en/mangahere/build.gradle index 6be2dfa34..2e0d3e5b9 100644 --- a/src/en/mangahere/build.gradle +++ b/src/en/mangahere/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Mangahere' extClass = '.Mangahere' - extVersionCode = 20 + extVersionCode = 21 } apply from: "$rootDir/common.gradle" diff --git a/src/en/mangahere/src/eu/kanade/tachiyomi/extension/en/mangahere/Mangahere.kt b/src/en/mangahere/src/eu/kanade/tachiyomi/extension/en/mangahere/Mangahere.kt index 138cc4b13..16f1d2a43 100644 --- a/src/en/mangahere/src/eu/kanade/tachiyomi/extension/en/mangahere/Mangahere.kt +++ b/src/en/mangahere/src/eu/kanade/tachiyomi/extension/en/mangahere/Mangahere.kt @@ -36,7 +36,6 @@ class Mangahere : ParsedHttpSource() { override fun headersBuilder(): Headers.Builder = super.headersBuilder() .set("Referer", "$baseUrl/") - .set("Cache-Control", "no-cache") private val cookieInterceptor = CookieInterceptor( baseUrl.substringAfter("://"), @@ -47,13 +46,6 @@ class Mangahere : ParsedHttpSource() { private val notRateLimitClient: OkHttpClient = network.cloudflareClient.newBuilder() .addNetworkInterceptor(cookieInterceptor) - .addNetworkInterceptor { chain -> - val newRequest = chain.request().newBuilder() - .header("Cache-Control", "no-cache") - .removeHeader("If-Modified-Since") - .build() - chain.proceed(newRequest) - } .build() override val client: OkHttpClient = notRateLimitClient.newBuilder()