change default port

serve
Avril 4 years ago
parent ff80dc4730
commit f25677f243
Signed by: flanchan
GPG Key ID: 966FE03CC0E0B199

@ -153,7 +153,7 @@ async fn main() {
let (addr, server) = warp::serve(push
.or(read))
.bind_with_graceful_shutdown(([127,0,0,1], 8777), async { tokio::signal::ctrl_c().await.unwrap(); });
.bind_with_graceful_shutdown(([127,0,0,1], 8001), async { tokio::signal::ctrl_c().await.unwrap(); });
println!("Server bound on {:?}", addr);
server.await

Loading…
Cancel
Save