From 21b10a195725ea2ca7547217ec78ec23c3c360ea Mon Sep 17 00:00:00 2001 From: uh wot Date: Sun, 24 Oct 2021 15:43:14 +0200 Subject: [PATCH] changed host address to 0.0.0.0 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index b2825b7..8799e35 100644 --- a/src/main.rs +++ b/src/main.rs @@ -101,7 +101,7 @@ async fn main() -> std::io::Result<()> { .service(index) .service(get_url) }) - .bind(format!("127.0.0.1:{}", port))? + .bind(format!("0.0.0.0:{}", port))? .run() .await } \ No newline at end of file