Compare commits

...

3 Commits

Author SHA1 Message Date
ngn
b80a4c4ee8 Merge branch 'custom' into renovate/chrono-0.x-lockfile 2025-01-20 20:06:48 +03:00
ngn
27665b8436
add actix-files to the cargo.toml
All checks were successful
Build and publish the docker image / build (push) Successful in 3m15s
Signed-off-by: ngn <ngn@ngn.tf>
2025-01-20 06:21:34 +03:00
ngn
0cc19bf98d
fix unclosed '(' in settings.rs
Some checks failed
Build and publish the docker image / build (push) Failing after 12s
Signed-off-by: ngn <ngn@ngn.tf>
2025-01-20 06:04:17 +03:00
2 changed files with 2 additions and 1 deletions

View File

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

View File

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