vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit edca4248aa76020d8b966b1c484aba80df8b13fc
parent b1b6bc9be05329f8892683664586635aced0c39a
Author: Daniel GarcĂ­a <dani-garcia@users.noreply.github.com>
Date:   Thu,  8 Sep 2022 18:01:27 +0200

Use optional env as this variable isn't defined during CI

Diffstat:
Msrc/api/core/mod.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/core/mod.rs b/src/api/core/mod.rs @@ -206,7 +206,7 @@ fn config() -> Json<Value> { let domain = crate::CONFIG.domain(); Json(json!({ "version": crate::VERSION, - "gitHash": env!("GIT_REV"), + "gitHash": option_env!("GIT_REV"), "server": { "name": "Vaultwarden", "url": "https://github.com/dani-garcia/vaultwarden"