From c887ddade43974afb2e706f4d3eee65025ab2596 Mon Sep 17 00:00:00 2001 From: Ada Werefox Date: Wed, 1 May 2024 15:48:10 -0500 Subject: [PATCH] Changing the default listen addr to be localhost at port 8471 to avoid conflicting with other services by default. --- src/lib.rs | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 2b5d0d7..8e2686f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -133,7 +133,7 @@ pub mod info_app { rsx! { HomePage { page_title: "About a Werefox", card_title: "Hi! I'm Alice Werefox!", WerefoxCard { card_title: "Basic Info".to_string(), title_emoji: None, - div { class: "grid grid-cols-1 gap-0 xl:grid-rows-1 xl:grid-cols-6 sm:grid-rows-2 sm:grid-cols-3 grid-rows-9 sm:gap-2", + div { class: "grid grid-cols-1 grid-rows-6 gap-0 xl:grid-rows-1 xl:grid-cols-6 sm:grid-rows-2 sm:grid-cols-3 sm:gap-2", for e in identity_list { IdentityButton { button_text: e.0, image_props: e.1 } } diff --git a/src/main.rs b/src/main.rs index 8a5f91c..f3fd51b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,7 +13,7 @@ fn main() { console_error_panic_hook::set_once(); let cfg = server_only!( - dioxus::fullstack::Config::new().addr(std::net::SocketAddr::from(([0, 0, 0, 0], 8234))) + dioxus::fullstack::Config::new().addr(std::net::SocketAddr::from(([127, 0, 0, 1], 8471))) ); LaunchBuilder::fullstack()