mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-07-28 08:48:56 +00:00
Log host
This commit is contained in:
@@ -52,8 +52,8 @@ async fn handler(
|
||||
info!("authority is {}", authority);
|
||||
|
||||
// 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")))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user