This commit is contained in:
kunfei
2022-04-22 14:59:01 +08:00
parent 5eaa669085
commit b5b7d78954
@@ -66,7 +66,9 @@ object AppWebDav {
val password = appCtx.getPrefString(PreferKey.webDavPassword)
if (!account.isNullOrBlank() && !password.isNullOrBlank()) {
HttpAuth.auth = HttpAuth.Auth(account, password)
isOk = WebDav(rootWebDavUrl).makeAsDir() && WebDav(bookProgressUrl).makeAsDir()
WebDav(rootWebDavUrl).makeAsDir()
WebDav(bookProgressUrl).makeAsDir()
isOk = true
}
}
}