forked from matteo/serves3
Print bucket endpoint and name at start
This commit is contained in:
parent
c1174c3f3b
commit
74a7ab55f5
|
@ -172,6 +172,7 @@ async fn s3_fileview(path: &PathBuf) -> Result<Vec<String>, Error> {
|
|||
|
||||
#[rocket::launch]
|
||||
fn rocket() -> _ {
|
||||
eprintln!("Proxying to {} for {}", BUCKET.host(), BUCKET.name());
|
||||
rocket::build()
|
||||
.mount("/", rocket::routes![index])
|
||||
.attach(Template::fairing())
|
||||
|
|
Loading…
Reference in New Issue