From bb6cc840ea24ff04dc83afe1fee8fef266ee6331 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Wed, 12 May 2021 21:27:07 +0530 Subject: [PATCH] configuration env seperator --- src/settings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings.rs b/src/settings.rs index 22ec9024..837e2bab 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -112,7 +112,7 @@ impl Settings { log::warn!("configuration file not found"); } - s.merge(Environment::with_prefix("GUARD"))?; + s.merge(Environment::with_prefix("GUARD").separator("_"))?; check_url(&s);