Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork148
Closed
Labels
Description
Say I have the scope:
Dream.scope"/users"[] [Dream.get"/" (fun_ ->Dream.html"Hello!") ]
When I navigate to/users
I expect to seeHello!
but instead I get a 404. If I navigate to/users/
however, I will seeHello!
. I don't think this is intentional.
If I want it to catch without the final slash, I have to add another route to the scope:
Dream.scope"/users"[] [Dream.get"/" (fun_ ->Dream.html"Hello!") ;Dream.get"" (fun_ ->Dream.html"Hello!") ]
Then it is working as expected.