I have an application that does not get deployed at the root of our site, it lives at site.com/TRAP_beta and a component route defined like this { path: '', component: TrapFormComponent }. I set the base url tag as <base href="/TRAP_beta/">.
When I navigate to site.com/TRAP_beta all is good with the world and the application works as intended, but if I navigate to site.com/trap_beta or any other cased version of the url, then router cannot find the path and it breaks.
How do I go about making the urls case insensitive to angular 2?