forked from Deuxfleurs/garage
Log host
This commit is contained in:
parent
c78df603d7
commit
09137fd6b5
1 changed files with 2 additions and 2 deletions
|
@ -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")))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue