Change interface

This commit is contained in:
Valentin Brandl 2019-07-26 14:40:13 +02:00
parent 662f083daa
commit ba712b0846
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D

View File

@ -121,6 +121,6 @@ fn main() -> Result<()> {
// .default_service(web::resource("").route(web::get().to_async(p404))) // .default_service(web::resource("").route(web::get().to_async(p404)))
}) })
// .workers(OPT.workers) // .workers(OPT.workers)
.bind("127.0.0.1:8080")? .bind("0.0.0.0:8080")?
.run()?) .run()?)
} }