Skip to content

Commit

Permalink
Update service.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeChampion authored Aug 1, 2024
1 parent 5c479a4 commit 20df4d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ impl ViceroyService {
.await
.unwrap();

let addr = SocketAddr::new(IpAddr::V4(std::net::Ipv4Addr::new(127, 0, 0, 1)), 7879);
let addr = SocketAddr::from(([127, 0, 0, 1], 7879));
println!("https listening on {}", addr);
axum_server::bind_rustls(addr, config)
.serve(self)
Expand Down

0 comments on commit 20df4d8

Please sign in to comment.