remove unused logic in fullstack launch (#2949)

This commit is contained in:
Chung authored and GitHub committed 2024-09-11 07:32:46 -05:00
1 parent b20db13e84
commit 9bf94a1636
1 file changed
-5
-5
View File
@@ -137,11 +137,6 @@ async fn launch_server(
.unwrap_or_else(dioxus_cli_config::AddressArguments::parse) .unwrap_or_else(dioxus_cli_config::AddressArguments::parse)
.address(); .address();
// Point the user to the CLI address if the CLI is running or the fullstack address if not
let serve_address = cli_args
.map(|args| args.cli_address())
.unwrap_or_else(|| address);
#[cfg(feature = "axum")] #[cfg(feature = "axum")]
{ {
use crate::axum_adapter::DioxusRouterExt; use crate::axum_adapter::DioxusRouterExt;