Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-16 04:12:53 +01:00
Use optional env as this variable isn't defined during CI
Dieser Commit ist enthalten in:
Ursprung
b1b6bc9be0
Commit
edca4248aa
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -206,7 +206,7 @@ fn config() -> Json<Value> {
|
||||||
let domain = crate::CONFIG.domain();
|
let domain = crate::CONFIG.domain();
|
||||||
Json(json!({
|
Json(json!({
|
||||||
"version": crate::VERSION,
|
"version": crate::VERSION,
|
||||||
"gitHash": env!("GIT_REV"),
|
"gitHash": option_env!("GIT_REV"),
|
||||||
"server": {
|
"server": {
|
||||||
"name": "Vaultwarden",
|
"name": "Vaultwarden",
|
||||||
"url": "https://github.com/dani-garcia/vaultwarden"
|
"url": "https://github.com/dani-garcia/vaultwarden"
|
||||||
|
|
Laden …
In neuem Issue referenzieren