reitit
reitit copied to clipboard
Handle trailing slashes in frontend module
Similar to ring module, frontend should provide options to handle trailing slashes in routes:
https://github.com/metosin/reitit/blob/master/modules/reitit-ring/src/reitit/ring.cljc#L111-L139
Ring module only does HTTP redirect, but for frontend it would probably make sense to provide options to do redirect (replaceState
probably) or to just return the same match from path with or without /
.
Hello, can we expect this change to be in master anytime soon?
This would be handy.