Change running address

This commit is contained in:
hodasemi 2023-09-21 12:07:43 +02:00
parent 0712b88f72
commit 2be07df8da

View file

@ -65,7 +65,7 @@ async fn run_web_server(
.service(change_plug_state)
.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:#?}")))?
.run()
.await?;