mirror of
				https://github.com/dani-garcia/vaultwarden.git
				synced 2025-10-27 16:30:02 +02:00 
			
		
		
		
	Merge branch 'custom-env-path' of https://github.com/TinfoilSubmarine/vaultwarden into TinfoilSubmarine-custom-env-path
This commit is contained in:
		| @@ -56,7 +56,7 @@ macro_rules! make_config { | ||||
|         impl ConfigBuilder { | ||||
|             #[allow(clippy::field_reassign_with_default)] | ||||
|             fn from_env() -> Self { | ||||
|                 match dotenv::from_path(".env") { | ||||
|                 match dotenv::from_path(get_env("ENV_FILE").unwrap_or_else(|| String::from(".env"))) { | ||||
|                     Ok(_) => (), | ||||
|                     Err(e) => match e { | ||||
|                         dotenv::Error::LineParse(msg, pos) => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user