Add backend axum for web app #1

Open
jason wants to merge 8 commits from backend-axum into main
Showing only changes of commit ccea905b69 - Show all commits

View File

@@ -11,7 +11,7 @@ async fn main() {
.route("/", get(handler))
.nest_service("/assets", ServeDir::new("../web/assets"));
let addr = SocketAddr::from(([127, 0, 0, 1], 3000));
let addr = SocketAddr::from(([127, 0, 0, 1], 3500));
println!("listening on {}", addr);
axum_server::bind(addr)
.serve(app.into_make_service())