mirror of
				https://github.com/dani-garcia/vaultwarden.git
				synced 2025-10-31 02:08:20 +02:00 
			
		
		
		
	Use optional env as this variable isn't defined during CI
This commit is contained in:
		| @@ -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" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user