failed load configuration
This commit is contained in:
@@ -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()?;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user