Mangahub multisrc : change CDN domain (#1169)
* Change Mangahub CDN * Update MangaHubGenerator.kt version code
This commit is contained in:
parent
f71938e357
commit
bc4df5d008
|
@ -48,7 +48,7 @@ abstract class MangaHub(
|
||||||
override val supportsLatest = true
|
override val supportsLatest = true
|
||||||
|
|
||||||
private var baseApiUrl = "$baseUrl/api"
|
private var baseApiUrl = "$baseUrl/api"
|
||||||
private var baseCdnUrl = "https://imgx.mangahub.io"
|
private var baseCdnUrl = "https://imgx.mghcdn.com"
|
||||||
|
|
||||||
override val client: OkHttpClient = super.client.newBuilder()
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
.setRandomUserAgent(
|
.setRandomUserAgent(
|
||||||
|
|
|
@ -9,7 +9,7 @@ class MangaHubGenerator : ThemeSourceGenerator {
|
||||||
|
|
||||||
override val themeClass = "MangaHub"
|
override val themeClass = "MangaHub"
|
||||||
|
|
||||||
override val baseVersionCode: Int = 26
|
override val baseVersionCode: Int = 27
|
||||||
|
|
||||||
override val sources = listOf(
|
override val sources = listOf(
|
||||||
SingleLang("1Manga.co", "https://1manga.co", "en", isNsfw = true, className = "OneMangaCo"),
|
SingleLang("1Manga.co", "https://1manga.co", "en", isNsfw = true, className = "OneMangaCo"),
|
||||||
|
|
Loading…
Reference in New Issue