From 74a7ab55f5d215959eb0aeb6736c4611ebb85b38 Mon Sep 17 00:00:00 2001 From: Matteo Settenvini Date: Sun, 2 Jul 2023 17:54:26 +0200 Subject: [PATCH] Print bucket endpoint and name at start --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 3d8edf7..829957f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -172,6 +172,7 @@ async fn s3_fileview(path: &PathBuf) -> Result, Error> { #[rocket::launch] fn rocket() -> _ { + eprintln!("Proxying to {} for {}", BUCKET.host(), BUCKET.name()); rocket::build() .mount("/", rocket::routes![index]) .attach(Template::fairing())