mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
Update WebDav.kt
This commit is contained in:
parent
406e32de64
commit
34cd1c28f9
@ -33,7 +33,7 @@ import java.time.format.DateTimeFormatter
|
|||||||
@Suppress("unused", "MemberVisibilityCanBePrivate")
|
@Suppress("unused", "MemberVisibilityCanBePrivate")
|
||||||
open class WebDav(
|
open class WebDav(
|
||||||
val path: String,
|
val path: String,
|
||||||
val authorization: Authorization = Authorization(serverID),
|
val authorization: Authorization = Authorization(AnalyzeUrl(path).serverID),
|
||||||
private val serverID: Long? = AnalyzeUrl(path).serverID
|
private val serverID: Long? = AnalyzeUrl(path).serverID
|
||||||
) {
|
) {
|
||||||
companion object {
|
companion object {
|
||||||
@ -401,4 +401,4 @@ open class WebDav(
|
|||||||
return "$url,{serverID:$serverID}"
|
return "$url,{serverID:$serverID}"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user