Earlym: Use the correct CDN (#1118)

🤡
This commit is contained in:
LLecca 2024-02-08 01:16:59 -05:00 committed by Draff
parent b78d35db07
commit ea90594583
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'EarlyManga'
extClass = '.EarlyManga'
extVersionCode = 25
extVersionCode = 26
}
apply from: "$rootDir/common.gradle"

View File

@ -217,7 +217,7 @@ class EarlyManga : HttpSource() {
val result = response.parseAs<PageListResponse>().chapter
val chapterUrl = response.request.url.toString()
.replace("/api", "")
val preSlug = if (result.on_disk != 0) {
val preSlug = if (result.on_disk != 0 && result.on_disk != null) {
"storage/uploads/manga"
} else {
"e-storage/uploads/manga"