You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So this seems more about being able to mount an empty router which I can see good reasons why shouldn't be allows (but I can also see use cases for it)
I want to be able to mount routers without a trailing slash. As far as I can tell, this is not supported.
Here is an example:
I want the endpoint to be
/api/test
, but instead it becomes/api/test/
and I'm not sure how to remove the trailing slash.I tried doing:
but that returns the same endpoint as before.
Maybe there can be an additional argument to
pr_mount()
to control this behavior:The text was updated successfully, but these errors were encountered: