From ba712b084667c44fa3c442259dd0870d34924808 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Fri, 26 Jul 2019 14:40:13 +0200 Subject: [PATCH] Change interface --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index fac4e19..cc19637 100644 --- a/src/main.rs +++ b/src/main.rs @@ -121,6 +121,6 @@ fn main() -> Result<()> { // .default_service(web::resource("").route(web::get().to_async(p404))) }) // .workers(OPT.workers) - .bind("127.0.0.1:8080")? + .bind("0.0.0.0:8080")? .run()?) }