mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-24 04:46:40 +03:00
Avoid some to_string in the request logging and include message to disable web vault when not found.
This commit is contained in:
2 files changed
+12
-8
No files matched your search
+3
-1
@@ -225,7 +225,9 @@ fn check_web_vault() {
|
||||
let index_path = Path::new(&CONFIG.web_vault_folder()).join("index.html");
|
||||
|
||||
if !index_path.exists() {
|
||||
error!("Web vault is not found. To install it, please follow the steps in https://github.com/dani-garcia/bitwarden_rs/wiki/Building-binary#install-the-web-vault");
|
||||
error!("Web vault is not found. To install it, please follow the steps in: ");
|
||||
error!("https://github.com/dani-garcia/bitwarden_rs/wiki/Building-binary#install-the-web-vault");
|
||||
error!("You can also set the environment variable 'WEB_VAULT_ENABLED=false' to disable it");
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user