Browse Source
Use optional env as this variable isn't defined during CI
pull/2738/head
Daniel García
2 years ago
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A
1 changed files with
1 additions and
1 deletions
-
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" |
|
|
|