Skip to content

Commit

Permalink
Add support for IPv6
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanNyan committed Jul 31, 2023
1 parent eee2696 commit fe7384d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ pub async fn run(
debug!("Port {port} is already in use, trying next port");
port += 1;
}
let addr = SocketAddr::from(([0, 0, 0, 0], port));
let addr = SocketAddr::from(([0, 0, 0, 0, 0, 0, 0, 0], port));
let axum_server_handle = axum_server::Handle::new();
tokio::spawn({
let axum_server_handle = axum_server_handle.clone();
Expand Down

0 comments on commit fe7384d

Please sign in to comment.