mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
fix webdav download
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user