leptos/integrations/actix
sify21 104c09f3bf
register server_fn first to allow for wildcard Route path (#2435)
It's normal to have a `NotFound` page with a wildcard path like this
```
<Routes>
    ...
    <Route path="*any" view=NotFound>
</Routes>
```
In `ssr` mode, most servers do a `first match win` approach, so we
should register server functions before view routes, or else a wildcard
route would block all api requests.

https://discord.com/channels/1031524867910148188/1218508054442545185

Signed-off-by: 司芳源 <sify21@163.com>
2024-03-19 09:37:42 -07:00
..
src register server_fn first to allow for wildcard Route path (#2435) 2024-03-19 09:37:42 -07:00
tests feat: add support for trailing slashes (closes #2154) (#2217) 2024-02-26 20:56:44 -05:00
Cargo.toml chore: add MSRV (#2360) 2024-02-28 07:19:09 -05:00
Makefile.toml ci: speed up verification (#1347) 2023-07-14 14:37:17 -04:00