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
IMHO the locations component should have a boolean flag trailingSlash which when set allows all its children to have trailing slashes without having to explicitly specify (/) at the end of the path
The text was updated successfully, but these errors were encountered:
Note also that it's a bad habit to have two URLs refer to the same resource without a redirect. There was a similar issue in url-pattern, which this library uses.
You could set an onBeforeNavigation handler that checks if the current route has a trailing slash, and if it does, calls this.setPath() again with the trailing slash removed, and returns false so the original navigation is canceled.
IMHO the locations component should have a boolean flag trailingSlash which when set allows all its children to have trailing slashes without having to explicitly specify
(/)
at the end of the pathThe text was updated successfully, but these errors were encountered: