change config file location in /etc/

This commit is contained in:
Aravinth Manivannan 2021-10-13 18:43:08 +05:30
parent d640c7d5a2
commit fb7125d5ab
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ impl Settings {
.expect("Couldn't get the number of CPUs");
const CURRENT_DIR: &str = "./config/default.toml";
const ETC: &str = "/etc/athena/config.toml";
const ETC: &str = "/etc/mcaptcha-survey/config.toml";
if let Ok(path) = env::var("ATHENA_CONFIG") {
s.merge(File::with_name(&path))?;