MangAdventure: bump versionId (#9399)

This commit is contained in:
ObserverOfTime 2021-10-08 15:12:10 +03:00 committed by GitHub
parent 0a0b8bd7a3
commit d951fe88ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -37,11 +37,15 @@ abstract class MangAdventure(
"Tachiyomi/${BuildConfig.VERSION_NAME}"
/** The URI of the site's API. */
private val apiUri by lazy { Uri.parse("$baseUrl/api/v2")!! }
private val apiUri by lazy {
Uri.parse("$baseUrl/api/v$versionId")!!
}
/** The JSON parser of the class. */
private val json by injectLazy<Json>()
override val versionId = 2
override val supportsLatest = true
override fun headersBuilder() =

View File

@ -9,7 +9,7 @@ class MangAdventureGenerator : ThemeSourceGenerator {
override val themeClass = "MangAdventure"
override val baseVersionCode = 5
override val baseVersionCode = 6
override val sources = listOf(
SingleLang("Arc-Relight", "https://arc-relight.com", "en", className = "ArcRelight"),