mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-11-23 12:23:04 +00:00
Use optional env as this variable isn't defined during CI
This commit is contained in:
parent
b1b6bc9be0
commit
edca4248aa
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue