Bind server to any local ipv4
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user