reitit icon indicating copy to clipboard operation
reitit copied to clipboard

Handle trailing slashes in frontend module

Open Deraen opened this issue 5 years ago • 2 comments

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 /.

Deraen avatar Mar 15 '19 15:03 Deraen

Hello, can we expect this change to be in master anytime soon?

sudorock avatar Apr 01 '21 10:04 sudorock

This would be handy.

aiba avatar Mar 08 '24 00:03 aiba