aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorFxQnLr <[email protected]>2024-02-12 15:50:58 +0100
committerFxQnLr <[email protected]>2024-02-12 15:50:58 +0100
commitc9034a7276dbdf87649c9946ef5072de58097259 (patch)
tree9695c326bdb5501a0ea6e51d0827292d4ef8cf50 /src/config.rs
parentca395b81bcadb9dde9214098f2cab0c7a3561574 (diff)
downloadwebol-c9034a7276dbdf87649c9946ef5072de58097259.tar
webol-c9034a7276dbdf87649c9946ef5072de58097259.tar.gz
webol-c9034a7276dbdf87649c9946ef5072de58097259.zip
remove cargo chef
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
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()