Bind server to any local ipv4

This commit is contained in:
2020-04-07 22:18:14 -07:00
parent 83232ad888
commit 197ab6dc14

View File

@@ -86,7 +86,7 @@ async fn main() {
.or(events)
.recover(handle_no_session);
warp::serve(routes).run(([127, 0, 0, 1], 8060)).await;
warp::serve(routes).run(([0, 0, 0, 0], 8060)).await;
}
// TODO: change `T` to `!` when/if `never` stabilizes?