remove unused logic in fullstack launch (#2949)
This commit is contained in:
1 parent
b20db13e84
commit
9bf94a1636
1 file changed
-5
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user