Koharu: Fix API domain & remove non-relevant domain (#11754)

* Remove hdoujin.net

* Fix API domain
This commit is contained in:
Cuong-Tran 2025-11-23 00:29:55 +07:00 committed by Draff
parent ac21e59f0d
commit 9dbe2bd9ac
Signed by: Draff
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'SchaleNetwork'
extClass = '.KoharuFactory'
extVersionCode = 16
extVersionCode = 17
isNsfw = true
}

View File

@ -74,7 +74,7 @@ class Koharu(
override val id = if (lang == "en") 1484902275639232927 else super.id
private val apiUrl = baseUrl.replace("://", "://api.")
private val apiUrl = API_DOMAIN
private val apiBooksUrl = "$apiUrl/books"
@ -513,13 +513,13 @@ class Koharu(
const val PREFIX_ID_KEY_SEARCH = "id:"
private const val PREF_MIRROR = "pref_mirror"
private const val MIRROR_PREF_DEFAULT = "schale.network"
private const val API_DOMAIN = "https://api.schale.network"
private val mirrors = arrayOf(
MIRROR_PREF_DEFAULT,
"anchira.to",
"gehenna.jp",
"niyaniya.moe",
"shupogaki.moe",
"hdoujin.net",
)
private const val PREF_IMAGERES = "pref_image_quality"
private const val PREF_REM_ADD = "pref_remove_additional"