Compare commits
No commits in common. "641ed35a2a385b168bc777882a4971cfaff1e7ad" and "f70f3ab8acd9c8d7210a30c761de1a354bffdd16" have entirely different histories.
641ed35a2a
...
f70f3ab8ac
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -428,9 +428,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
||||
|
||||
[[package]]
|
||||
name = "chrono"
|
||||
version = "0.4.39"
|
||||
version = "0.4.38"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825"
|
||||
checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
|
||||
dependencies = [
|
||||
"android-tzdata",
|
||||
"iana-time-zone",
|
||||
|
@ -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"
|
||||
|
@ -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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user