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(
|
.add_source(
|
||||||
config::Environment::with_prefix("APP")
|
config::Environment::with_prefix("APP")
|
||||||
.prefix_separator("_")
|
.prefix_separator("_")
|
||||||
.prefix("__"),
|
.separator("__"),
|
||||||
)
|
)
|
||||||
.build()?;
|
.build()?;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user