I have an Angular 14 application that uses HashLocationStrategy - # in URL (Example: https://localhost:4200/#/agenda?data=2023-03-22).
Some of my customers have tried to post stories on Instagram, but Instagram "cuts" the URL from the hash (#), leaving it as https://localhost:4200/.
I would like to switch to PathLocationStrategy, without the hash (Example: https://localhost:4200/agenda?data=2023-03-22).
However, I already have many customers who use the URL WITH HASH.
Is it possible to make my application accept URLs with and without hash?
Or another solution?
Thank you.
My application accept URLs with and without hash.