Changing the default listen addr to be localhost at port 8471 to avoid conflicting with other services by default.

This commit is contained in:
Ada Werefox 2024-05-01 15:48:10 -05:00
parent 755485c102
commit c887ddade4
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ pub mod info_app {
rsx! { rsx! {
HomePage { page_title: "About a Werefox", card_title: "Hi! I'm Alice Werefox!", HomePage { page_title: "About a Werefox", card_title: "Hi! I'm Alice Werefox!",
WerefoxCard { card_title: "Basic Info".to_string(), title_emoji: None, 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 { for e in identity_list {
IdentityButton { button_text: e.0, image_props: e.1 } IdentityButton { button_text: e.0, image_props: e.1 }
} }

View File

@ -13,7 +13,7 @@ fn main() {
console_error_panic_hook::set_once(); console_error_panic_hook::set_once();
let cfg = server_only!( 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() LaunchBuilder::fullstack()