From 0a1721084d3830afcef678c777fa5fcce28abf05 Mon Sep 17 00:00:00 2001 From: kageru Date: Mon, 30 Jan 2023 18:00:46 +0100 Subject: [PATCH] change port --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 71e976e..2b78a5f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -29,7 +29,7 @@ async fn main() -> std::io::Result<()> { let num_cards = (CARDS_BY_ID.len() + SEARCH_CARDS.len()) / 2; println!("Read {num_cards} cards in {:?}", now.elapsed()); HttpServer::new(|| App::new().service(search).service(card_info).service(help)) - .bind((Ipv4Addr::from([127, 0, 0, 1]), 8080))? + .bind((Ipv4Addr::from([127, 0, 0, 1]), 1961))? .run() .await }