Skip to content

Commit

Permalink
bind 0.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
making committed Aug 1, 2024
1 parent 43e5931 commit 121e067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async fn main() -> std::io::Result<()> {
.route("/counter", web::post().to(increment_counter))
.route("/counter", web::get().to(get_all_counters))
})
.bind(("127.0.0.1", port))?
.bind(("0.0.0.0", port))?
.run()
.await
}
Expand Down

0 comments on commit 121e067

Please sign in to comment.