mirror of
https://github.com/chenasraf/leptos.git
synced 2026-05-17 17:48:10 +00:00
0.1.0
This commit is contained in:
@@ -361,7 +361,7 @@ where
|
||||
}
|
||||
|
||||
fn provide_contexts(cx: leptos::Scope, req: &HttpRequest, res_options: ResponseOptions) {
|
||||
let path = leptos_corrected_path(&req);
|
||||
let path = leptos_corrected_path(req);
|
||||
|
||||
let integration = ServerIntegration { path };
|
||||
provide_context(cx, RouterIntegrationContext::new(integration));
|
||||
|
||||
@@ -524,9 +524,9 @@ where
|
||||
.collect();
|
||||
|
||||
if routes.is_empty() {
|
||||
return vec!["/".to_string()];
|
||||
vec!["/".to_string()]
|
||||
} else {
|
||||
return routes;
|
||||
routes
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user