This commit is contained in:
Quentin 2020-11-08 16:06:52 +01:00
parent c78df603d7
commit 09137fd6b5

View file

@ -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")))
}