fix webdav download

pull/2043/head
821938089 2 years ago
parent 1f8b28b9b8
commit 9dfe3d97cc
  1. 3
      app/src/main/java/io/legado/app/lib/webdav/WebDav.kt

@ -151,8 +151,9 @@ open class WebDav(val path: String, val authorization: Authorization) {
.toInstant(ZoneOffset.of("+8")).toEpochMilli()
}
}.getOrNull() ?: 0
val fullURL = NetworkUtils.getAbsoluteURL(baseUrl, href)
webDavFile = WebDavFile(
"$baseUrl$href",
fullURL,
authorization,
displayName = fileName,
urlName = urlName,

Loading…
Cancel
Save