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