1
0
Fork 0

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

Dieser Commit ist enthalten in:
Daniel García 2022-09-08 18:01:27 +02:00
Ursprung b1b6bc9be0
Commit edca4248aa
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: FC8A7D14C3CD543A

Datei anzeigen

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