MangaHub: update API URL (#318)
* Update MangaHub.kt Updated the MangaHub API from "mghubcdn.com" to "mghcdn.com" to resolve the issue "hostname api.mghubcbdn.com not verified" as the URL had moved over to "mghcdn.com" * Update MangaHubGenerator.kt Updated "overrideVersionCode" as needed for all multisrc extensions * Update MangaHubGenerator.kt Updated "overrideVersionCode" as needed for all multisrc extensions and reverted the change made in the previous commit for "baseVersionCode".
This commit is contained in:
parent
2e410da03b
commit
f3f816f956
@ -46,8 +46,8 @@ abstract class MangaHub(
|
||||
|
||||
override val supportsLatest = true
|
||||
|
||||
private var baseApiUrl = "https://api.mghubcdn.com"
|
||||
private var baseCdnUrl = "https://imgx.mghubcdn.com"
|
||||
private var baseApiUrl = "https://api.mghcdn.com"
|
||||
private var baseCdnUrl = "https://imgx.mghcdn.com"
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.setRandomUserAgent(
|
||||
|
@ -9,7 +9,7 @@ class MangaHubGenerator : ThemeSourceGenerator {
|
||||
|
||||
override val themeClass = "MangaHub"
|
||||
|
||||
override val baseVersionCode: Int = 22
|
||||
override val baseVersionCode: Int = 23
|
||||
|
||||
override val sources = listOf(
|
||||
// SingleLang("1Manga.co", "https://1manga.co", "en", isNsfw = true, className = "OneMangaCo"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user