Print bucket endpoint and name at start

This commit is contained in:
Matteo Settenvini 2023-07-02 17:54:26 +02:00
parent c1174c3f3b
commit 74a7ab55f5
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ async fn s3_fileview(path: &PathBuf) -> Result<Vec<String>, Error> {
#[rocket::launch] #[rocket::launch]
fn rocket() -> _ { fn rocket() -> _ {
eprintln!("Proxying to {} for {}", BUCKET.host(), BUCKET.name());
rocket::build() rocket::build()
.mount("/", rocket::routes![index]) .mount("/", rocket::routes![index])
.attach(Template::fairing()) .attach(Template::fairing())