mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
fix: don't assume OutOfOrder and GET for /
This commit is contained in:
parent
ea153e4f26
commit
ef45828ca7
2 changed files with 6 additions and 6 deletions
|
@ -1068,9 +1068,9 @@ where
|
|||
let path = listing.path();
|
||||
if path.is_empty() {
|
||||
RouteListing::new(
|
||||
"/",
|
||||
Default::default(),
|
||||
[leptos_router::Method::Get],
|
||||
"/".to_string(),
|
||||
listing.mode(),
|
||||
listing.methods(),
|
||||
)
|
||||
} else {
|
||||
listing
|
||||
|
|
|
@ -992,9 +992,9 @@ where
|
|||
let path = listing.path();
|
||||
if path.is_empty() {
|
||||
RouteListing::new(
|
||||
"/",
|
||||
Default::default(),
|
||||
[leptos_router::Method::Get],
|
||||
"/".to_string(),
|
||||
listing.mode(),
|
||||
listing.methods(),
|
||||
)
|
||||
} else {
|
||||
listing
|
||||
|
|
Loading…
Reference in a new issue