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
yeah this like most react libs uses a really old version of path-to-regexp, b/c they removed a feature that is necessary for this all to work (tho i'm forgetting what at the moment)
I was trying to create a custom parameter prefix as documented in https://github.com/pillarjs/path-to-regexp?tab=readme-ov-file#custom-prefix-and-suffix but it doesn't seem to work.
It would be nice for doing
foo{/:path}?
which would matchfoo
andfoo/bar
but notfoobar
and the parameterpath
would not contain the leading slash.The text was updated successfully, but these errors were encountered: