pull/289/head
gedoor 4 years ago
parent 971e0b7e44
commit e9f757db36
  1. 1
      app/src/main/java/io/legado/app/help/SourceHelp.kt

@ -50,6 +50,7 @@ object SourceHelp {
url ?: return false
val baseUrl = NetworkUtils.getBaseUrl(url)
baseUrl ?: return false
if (AppConfig.isGooglePlay) return false
try {
val host = baseUrl.split("//", ".")
val base64Url = EncoderUtils.base64Encode("${host[host.lastIndex - 1]}.${host.last()}")

Loading…
Cancel
Save