Changing the default listen addr to be localhost at port 8471 to avoid conflicting with other services by default.
This commit is contained in:
parent
755485c102
commit
c887ddade4
@ -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 }
|
||||||
}
|
}
|
||||||
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user