failed load configuration
This commit is contained in:
@@ -5,7 +5,7 @@ impl WatcherConfig {
|
||||
// Load .env file (works in both Docker and local development)
|
||||
dotenvy::dotenv().ok();
|
||||
|
||||
let mut cfg = config::Config::builder()
|
||||
let cfg = config::Config::builder()
|
||||
.add_source(config::Environment::with_prefix("WATCHER").separator("_"))
|
||||
.build()?;
|
||||
|
||||
|
Reference in New Issue
Block a user