Log host
This commit is contained in:
parent
c78df603d7
commit
09137fd6b5
@ -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")))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user