Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
url normalization example
// normalize a legacy url
{ path: 'legacy/user/:name', redirectTo: 'user/:name' },
{ path: 'user/:name', component: UserComponent}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.