Fix bug when reading environment variables

This commit is contained in:
Alphonse Paix
2025-08-22 16:29:11 +02:00
parent a7473bb7f5
commit 4d049a744a

View File

@@ -18,7 +18,7 @@ pub fn get_configuration() -> Result<Settings, config::ConfigError> {
.add_source(
config::Environment::with_prefix("APP")
.prefix_separator("_")
.prefix("__"),
.separator("__"),
)
.build()?;