failed load configuration

This commit is contained in:
2025-08-28 22:21:54 +02:00
parent c4a2e1acf7
commit b3dbb94c74

View File

@@ -5,7 +5,7 @@ impl WatcherConfig {
// Load .env file (works in both Docker and local development) // Load .env file (works in both Docker and local development)
dotenvy::dotenv().ok(); dotenvy::dotenv().ok();
let mut cfg = config::Config::builder() let cfg = config::Config::builder()
.add_source(config::Environment::with_prefix("WATCHER").separator("_")) .add_source(config::Environment::with_prefix("WATCHER").separator("_"))
.build()?; .build()?;