readme and env var prefix

This commit is contained in:
realaravinth
2021-03-10 21:55:39 +05:30
parent 7f289cce03
commit 68322def60
2 changed files with 21 additions and 27 deletions

View File

@@ -103,7 +103,7 @@ impl Settings {
s.merge(File::with_name("./config/default.toml"))?;
// TODO change PLACEHOLDER to app name
s.merge(Environment::with_prefix("WEBHUNT"))?;
s.merge(Environment::with_prefix("GUARD"))?;
match env::var("PORT") {
Ok(val) => {