An url serializer that converts the path of an url to lower case while not touching the query or fragment part.
This will make your angular router accept paths in any case, like /home or /Home or /HOME
/home
/Home
/HOME
See e.g. this question on stack overflow
Usage: Add this code snippet to the providers of you module declaration:
providers: [ { provide: UrlSerializer, useClass: LowerCaseUrlSerializer }, ],
Converts a UrlTree into a url
UrlTree
Generated using TypeDoc
An url serializer that converts the path of an url to lower case while not touching the query or fragment part.
This will make your angular router accept paths in any case, like
/home
or/Home
or/HOME
See e.g. this question on stack overflow
Usage: Add this code snippet to the providers of you module declaration: