Change running address
This commit is contained in:
parent
0712b88f72
commit
2be07df8da
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ async fn run_web_server(
|
||||||
.service(change_plug_state)
|
.service(change_plug_state)
|
||||||
.service(change_device_name)
|
.service(change_device_name)
|
||||||
})
|
})
|
||||||
.bind(("127.0.0.1", 8062))
|
.bind(("0.0.0.0", 8062))
|
||||||
.map_err(|err| anyhow::Error::msg(format!("failed binding to address: {err:#?}")))?
|
.map_err(|err| anyhow::Error::msg(format!("failed binding to address: {err:#?}")))?
|
||||||
.run()
|
.run()
|
||||||
.await?;
|
.await?;
|
||||||
|
|
Loading…
Reference in a new issue