diff options
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs index e88ddab..4319ffc 100644 --- a/src/config.rs +++ b/src/config.rs | |||
@@ -16,7 +16,7 @@ impl Config { | |||
16 | .set_default("pingtimeout", 10)? | 16 | .set_default("pingtimeout", 10)? |
17 | .add_source(File::with_name("config.toml").required(false)) | 17 | .add_source(File::with_name("config.toml").required(false)) |
18 | .add_source(File::with_name("config.dev.toml").required(false)) | 18 | .add_source(File::with_name("config.dev.toml").required(false)) |
19 | .add_source(config::Environment::with_prefix("WEBOL").separator("_")) | 19 | .add_source(config::Environment::with_prefix("WEBOL").prefix_separator("_")) |
20 | .build()?; | 20 | .build()?; |
21 | 21 | ||
22 | config.try_deserialize() | 22 | config.try_deserialize() |