Compare commits

..

No commits in common. "b80a4c4ee8ffd6f03a168cc84b36b525cbaba42b" and "993a1dd3730f914f2f5a9da98f93750ffb9d88a2" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View File

@ -14,7 +14,6 @@ version = "0.1.0"
actix-http = "3.0.4"
actix-rt = "2"
actix-web = "4.0.1"
actix-files = "0.6.6"
bincode = "1.3.3"
chrono = "0.4.23"
config = "0.13"

View File

@ -43,7 +43,7 @@ impl Settings {
if let Ok(path) = env::var("LIBMEDIUM") {
s = s.add_source(File::with_name(&path));
} else if Path::new("./config.toml").exists() {
s = s.add_source(File::with_name("./config.toml"));
s = s.add_source(File::with_name("./config.toml");
} else {
log::warn!("configuration file not found");
}