vendredi 22 mars 2019

Prevent Chrome from stripping url parameters

I am working on an Angular 6 application and I would like to read the id of an item that resides in the url. For instance www.mywebsite.com/3, I am trying to retrieve 3. It works fine in IE but in Chrome it is redirecting to www.mywebsite.com/# therefore there is no way for me to retrieve the id (3 for the example url) which I rely upon to retrieve the item in the back end. Is there a workaround for this issue? Thanks.




Aucun commentaire:

Enregistrer un commentaire