remove duplicate slash (#6837)

Co-authored-by: myself <mail@mail.mail>
This commit is contained in:
rhjdvsgsgks 2021-05-05 17:59:35 +00:00 committed by GitHub
parent 28e1753d75
commit f438e31b5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@ plugins {
android { android {
compileSdkVersion(Config.compileSdk) compileSdkVersion(Config.compileSdk)
buildToolsVersion(Config.buildTools)
defaultConfig { defaultConfig {
minSdkVersion(Config.minSdk) minSdkVersion(Config.minSdk)

View File

@ -5,7 +5,7 @@ ext {
extName = 'Manhuadui' extName = 'Manhuadui'
pkgNameSuffix = 'zh.manhuadui' pkgNameSuffix = 'zh.manhuadui'
extClass = '.Manhuadui' extClass = '.Manhuadui'
extVersionCode = 14 extVersionCode = 15
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -120,7 +120,7 @@ class Manhuadui : ParsedHttpSource() {
if (imgStr.startsWith("http://images.dmzj.com")) { if (imgStr.startsWith("http://images.dmzj.com")) {
Page(i, "", "https://img01.eshanyao.com/showImage.php?url=$imgStr") Page(i, "", "https://img01.eshanyao.com/showImage.php?url=$imgStr")
} else { } else {
Page(i, "", if (imgStr.indexOf("http") == -1) "${imageServer[0]}/$imgStr" else imgStr) Page(i, "", if (imgStr.indexOf("http") == -1) "${imageServer[0]}$imgStr" else imgStr)
} }
} }
} }