Merge pull request #9 from GreenPenguino/control-port

change control port to 14000
This commit is contained in:
Felix Schulze
2023-04-25 16:00:45 +02:00
committed by GitHub

View File

@ -27,7 +27,7 @@ async fn main() {
.with_state(shared_state); .with_state(shared_state);
// run our app with hyper // run our app with hyper
let addr = SocketAddr::from(([127, 0, 0, 1], 3000)); let addr = SocketAddr::from(([127, 0, 0, 1], 14000));
tracing::debug!("listening on {}", addr); tracing::debug!("listening on {}", addr);
axum::Server::bind(&addr) axum::Server::bind(&addr)
.serve(app.into_make_service()) .serve(app.into_make_service())