fix a few CLI errors
This commit is contained in:
1 parent
e745212157
commit
194d90e66f
6 files changed
+15
-14
No files matched your search
@@ -336,7 +336,7 @@ async fn setup_router(
|
||||
router = if let Some(base_path) = config.dioxus_config.web.app.base_path.clone() {
|
||||
let base_path = format!("/{}", base_path.trim_matches('/'));
|
||||
Router::new()
|
||||
.nest(&base_path, axum::routing::any_service(router.into()))
|
||||
.route(&base_path, axum::routing::any_service(router.into()))
|
||||
.fallback(get(move || {
|
||||
let base_path = base_path.clone();
|
||||
async move { format!("Outside of the base path: {}", base_path) }
|
||||
|
||||
Reference in new issue
Block a user