SETTINGS.webdav_disable_check

This commit is contained in:
Jörn-Michael Miehe 2022-09-09 02:56:22 +00:00
parent fb5ca7bcda
commit 6b8d6f8bc7
2 changed files with 5 additions and 3 deletions

View file

@ -19,6 +19,7 @@ _WEBDAV_CLIENT = WebDAVclient({
"webdav_hostname": SETTINGS.webdav.url, "webdav_hostname": SETTINGS.webdav.url,
"webdav_login": SETTINGS.webdav.username, "webdav_login": SETTINGS.webdav.username,
"webdav_password": SETTINGS.webdav.password, "webdav_password": SETTINGS.webdav.password,
"disable_check": SETTINGS.webdav_disable_check,
}) })
_logger = getLogger(__name__) _logger = getLogger(__name__)

View file

@ -64,6 +64,7 @@ class Settings(BaseSettings):
redoc_url: Optional[str] = None if production_mode else "/redoc" redoc_url: Optional[str] = None if production_mode else "/redoc"
webdav: DavSettings = DavSettings() webdav: DavSettings = DavSettings()
webdav_disable_check: bool = False
webdav_retries: int = 20 webdav_retries: int = 20
webdav_prefix: str = "/ovdashboard" webdav_prefix: str = "/ovdashboard"
config_path: str = "config.txt" config_path: str = "config.txt"