fix for docker this will make the backend listen to the local network too
This commit is contained in:
parent
82c63ba222
commit
359ffc30ba
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ async fn main() -> std::io::Result<()> {
|
|||
.app_data(web::Data::new(state.clone()))
|
||||
.configure(config)
|
||||
})
|
||||
.bind(("127.0.0.1", 8080))?
|
||||
.bind(("0.0.0.0", 8080))?
|
||||
.run()
|
||||
.await
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue