Update 'src/main.rs'

Whoops wrong address…
This commit is contained in:
Thelie 2023-07-04 15:56:17 +02:00
parent 9bab6ce036
commit d17087182c

View file

@ -236,7 +236,7 @@ async fn echo(req: Request<Body>) -> Result<Response<Body>> {
#[tokio::main]
async fn main() -> Result<()> {
let addr = ([0, 0, 0, 1], 3000).into();
let addr = ([0, 0, 0, 0], 3000).into();
let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(echo)) });