Fix bug when reading environment variables
This commit is contained in:
@@ -18,7 +18,7 @@ pub fn get_configuration() -> Result<Settings, config::ConfigError> {
|
||||
.add_source(
|
||||
config::Environment::with_prefix("APP")
|
||||
.prefix_separator("_")
|
||||
.prefix("__"),
|
||||
.separator("__"),
|
||||
)
|
||||
.build()?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user