From 9e8f89beb05e0f1d09c95bb539212b2924a60c63 Mon Sep 17 00:00:00 2001 From: arkon Date: Thu, 30 Apr 2020 09:31:33 -0400 Subject: [PATCH] MangaDex: update base URL to include www, remove temporary domain handlers This is a workaround for the site not loading properly in WebView sometimes due to some of their assets failing to load when not on the www subdomain for some reason. --- src/all/mangadex/AndroidManifest.xml | 6 +----- src/all/mangadex/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt | 4 ++-- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/all/mangadex/AndroidManifest.xml b/src/all/mangadex/AndroidManifest.xml index a742ffcaf..31ba37b5b 100644 --- a/src/all/mangadex/AndroidManifest.xml +++ b/src/all/mangadex/AndroidManifest.xml @@ -23,11 +23,7 @@ android:pathPattern="/manga/..*" /> - diff --git a/src/all/mangadex/build.gradle b/src/all/mangadex/build.gradle index d56f4eff9..4640c7135 100644 --- a/src/all/mangadex/build.gradle +++ b/src/all/mangadex/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: MangaDex' pkgNameSuffix = 'all.mangadex' extClass = '.MangadexFactory' - extVersionCode = 88 + extVersionCode = 89 libVersion = '1.2' } diff --git a/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt b/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt index 061639a26..3f16c0334 100644 --- a/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt +++ b/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt @@ -55,9 +55,9 @@ abstract class Mangadex( override val name = "MangaDex" - override val baseUrl = "https://mangadex.org" + override val baseUrl = "https://www.mangadex.org" - private val cdnUrl = "https://mangadex.org" // "https://s0.mangadex.org" + private val cdnUrl = "https://www.mangadex.org" // "https://s0.mangadex.org" override val supportsLatest = true