mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
Fix queries in ssr_router example (#3587)
This commit is contained in:
parent
b2cba911ac
commit
7be9d17ec4
@ -40,7 +40,7 @@ async fn render(
|
||||
Query(queries): Query<HashMap<String, String>>,
|
||||
State((index_html_before, index_html_after)): State<(String, String)>,
|
||||
) -> impl IntoResponse {
|
||||
let url = url.to_string();
|
||||
let url = url.path().to_owned();
|
||||
|
||||
let renderer = yew::ServerRenderer::<ServerApp>::with_props(move || ServerAppProps {
|
||||
url: url.into(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user