changed host address to 0.0.0.0
This commit is contained in:
parent
d2a7090033
commit
21b10a1957
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue