This commit is contained in:
kunfei
2022-04-22 14:59:01 +08:00
parent 186b8b4da3
commit 992ee9b22d

View File

@@ -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
}
}
}