configuration env seperator

This commit is contained in:
realaravinth 2021-05-12 21:27:07 +05:30
parent bf9f2a6cbc
commit bb6cc840ea
No known key found for this signature in database
GPG key ID: AD9F0F08E855ED88

View file

@ -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);