remove unused logic in fullstack launch (#2949)

This commit is contained in:
Chung 2024-09-11 22:32:46 +10:00 committed by GitHub
parent b20db13e84
commit 9bf94a1636
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -137,11 +137,6 @@ async fn launch_server(
.unwrap_or_else(dioxus_cli_config::AddressArguments::parse)
.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")]
{
use crate::axum_adapter::DioxusRouterExt;