changed host address to 0.0.0.0

This commit is contained in:
uh wot 2021-10-24 15:43:14 +02:00
parent d2a7090033
commit 21b10a1957
Signed by: uhwot
GPG Key ID: CB2454984587B781
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ async fn main() -> std::io::Result<()> {
.service(index) .service(index)
.service(get_url) .service(get_url)
}) })
.bind(format!("127.0.0.1:{}", port))? .bind(format!("0.0.0.0:{}", port))?
.run() .run()
.await .await
} }