fixed separator

This commit is contained in:
2025-08-29 12:22:57 +02:00
parent 75b5f3f12f
commit 32a4435be1

View File

@@ -15,7 +15,7 @@ impl AppConfig {
dotenvy::dotenv().ok(); dotenvy::dotenv().ok();
let cfg = Config::builder() let cfg = Config::builder()
.add_source(config::Environment::with_prefix("WATCHER").separator("_")) .add_source(config::Environment::with_prefix("WATCHER").separator("__"))
.build()?; .build()?;
println!("Configuration loaded: {cfg:#?}"); println!("Configuration loaded: {cfg:#?}");