changed baseUrl: toonkor.ws -> tkor.cx (#5343)

This commit is contained in:
OncePunchedMan 2021-01-07 11:37:15 +00:00 committed by GitHub
parent 1f2cac98df
commit e4f3e5053f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Toonkor' extName = 'Toonkor'
pkgNameSuffix = 'ko.toonkor' pkgNameSuffix = 'ko.toonkor'
extClass = '.Toonkor' extClass = '.Toonkor'
extVersionCode = 2 extVersionCode = 3
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -29,7 +29,9 @@ class Toonkor : ConfigurableSource, ParsedHttpSource() {
override val name = "Toonkor" override val name = "Toonkor"
private val defaultBaseUrl = "https://toonkor.ws" private val defaultBaseUrl = "https://tkor.cx"
private val BASE_URL_PREF = "overrideBaseUrl_v${BuildConfig.VERSION_NAME}"
override val baseUrl by lazy { getPrefBaseUrl() } override val baseUrl by lazy { getPrefBaseUrl() }
@ -241,7 +243,6 @@ class Toonkor : ConfigurableSource, ParsedHttpSource() {
companion object { companion object {
private const val BASE_URL_PREF_TITLE = "Override BaseUrl" private const val BASE_URL_PREF_TITLE = "Override BaseUrl"
private const val BASE_URL_PREF = "overrideBaseUrl_v${BuildConfig.VERSION_NAME}"
private const val BASE_URL_PREF_SUMMARY = "Override default domain with a different one" private const val BASE_URL_PREF_SUMMARY = "Override default domain with a different one"
} }
} }