Fix queue autoServer (#6565)
This commit is contained in:
parent
8c27f10cc9
commit
73efe1501f
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'MangaLib'
|
||||
pkgNameSuffix = 'ru.libmanga'
|
||||
extClass = '.LibManga'
|
||||
extVersionCode = 37
|
||||
extVersionCode = 38
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -301,7 +301,7 @@ class LibManga : ConfigurableSource, HttpSource() {
|
|||
val chapInfoJson = jsonParser.parse(chapInfo).obj
|
||||
val servers = chapInfoJson["servers"].asJsonObject.toMap()
|
||||
val defaultServer: String = chapInfoJson["img"]["server"].string
|
||||
val autoServer = setOf(defaultServer, "secondary", "fourth", "compress")
|
||||
val autoServer = setOf("secondary", "fourth", defaultServer, "compress")
|
||||
val imgUrl: String = chapInfoJson["img"]["url"].string
|
||||
|
||||
val serverToUse = when (this.server) {
|
||||
|
|
Loading…
Reference in New Issue