1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-11-13 22:43:14 +01:00

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

This commit is contained in:
Daniel García 2022-09-08 18:01:27 +02:00
parent b1b6bc9be0
commit edca4248aa
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A

View File

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