mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-31 09:18:29 +00:00
Log host
This commit is contained in:
@@ -52,8 +52,8 @@ async fn handler(
|
|||||||
info!("authority is {}", authority);
|
info!("authority is {}", authority);
|
||||||
|
|
||||||
// Get HTTP domain/ip from host
|
// Get HTTP domain/ip from host
|
||||||
//let domain = host.to_socket_
|
let host = authority_to_host(authority)?;
|
||||||
|
info!("host is {}", host);
|
||||||
|
|
||||||
Ok(Response::new(Body::from("hello world\n")))
|
Ok(Response::new(Body::from("hello world\n")))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user