There is similar question without proper answer.
If I set in app.module.ts:
providers: [
{ provide: APP_BASE_HREF, useValue: '/my/app'},
and type localhost:4200/my/app
this.location.path()
returns the correct path "".
However if I type localhost:4200/my/App
this.location.path()
returns "/my/App" which is wrong.
For reasons beyond this question I make checks for the URL. So my question is: how to make base href case insensitive?
I assume that installation on IIS fails for same reason.