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]
|
#[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())
|
||||||
|
|
Loading…
Reference in New Issue