From a21da0ff597e349f45311c63d9d20bd990817783 Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Sat, 20 Nov 2021 15:43:53 +0200 Subject: [PATCH] Readerfront: remove extra slash (#9818) --- .../readerfront/ravensscans/src/RavensScansFactory.kt | 2 +- .../overrides/readerfront/scyllascans/src/ScyllaScans.kt | 2 +- .../tachiyomi/multisrc/readerfront/ReaderFrontGenerator.kt | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/multisrc/overrides/readerfront/ravensscans/src/RavensScansFactory.kt b/multisrc/overrides/readerfront/ravensscans/src/RavensScansFactory.kt index 60cec2b29..4371725f7 100644 --- a/multisrc/overrides/readerfront/ravensscans/src/RavensScansFactory.kt +++ b/multisrc/overrides/readerfront/ravensscans/src/RavensScansFactory.kt @@ -7,7 +7,7 @@ class RavensScansFactory : SourceFactory { override fun createSources() = listOf(RavensScans("es"), RavensScans("en")) class RavensScans(lang: String) : - ReaderFront("Ravens Scans", "https://ravens-scans.com/", lang) { + ReaderFront("Ravens Scans", "https://ravens-scans.com", lang) { override fun getImageCDN(path: String, width: Int) = "https://i${(0..2).random()}.wp.com/img-cdn1.ravens-scans.com" + "$path?strip=all&quality=100&w=$width" diff --git a/multisrc/overrides/readerfront/scyllascans/src/ScyllaScans.kt b/multisrc/overrides/readerfront/scyllascans/src/ScyllaScans.kt index f3768ed3a..afd46de7e 100644 --- a/multisrc/overrides/readerfront/scyllascans/src/ScyllaScans.kt +++ b/multisrc/overrides/readerfront/scyllascans/src/ScyllaScans.kt @@ -2,7 +2,7 @@ package eu.kanade.tachiyomi.extension.en.scyllascans import eu.kanade.tachiyomi.multisrc.readerfront.ReaderFront -class ScyllaScans : ReaderFront("Scylla Scans", "https://scyllascans.org/", "en") { +class ScyllaScans : ReaderFront("Scylla Scans", "https://scyllascans.org", "en") { override fun getImageCDN(path: String, width: Int) = "https://i${(0..2).random()}.wp.com/api.scyllascans.org" + "$path?strip=all&quality=100&w=$width" diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/readerfront/ReaderFrontGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/readerfront/ReaderFrontGenerator.kt index 08678a26b..a8230c0a3 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/readerfront/ReaderFrontGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/readerfront/ReaderFrontGenerator.kt @@ -9,11 +9,11 @@ class ReaderFrontGenerator : ThemeSourceGenerator { override val themeClass = "ReaderFront" - override val baseVersionCode = 2 + override val baseVersionCode = 3 override val sources = listOf( - MultiLang("Ravens Scans", "https://ravens-scans.com/", listOf("es", "en"), true), - SingleLang("Scylla Scans", "https://scyllascans.org/", "en"), + MultiLang("Ravens Scans", "https://ravens-scans.com", listOf("es", "en"), true), + SingleLang("Scylla Scans", "https://scyllascans.org", "en"), ) companion object {