While wiring up our routes with parameters in our Ionic PWA, I noticed that URLs with query parameters are getting redirected without the parameters. For example visiting:
http://localhost:8100/invite?email=me@gmail.com&token=abc123
Ends up getting redirected to just
So the email
and token
parameters are lost. For some routes we’re using path parameters like unsubscribe/:email/:token
but other cases we may need to use query parameters instead, for example if the parameters are optional.
Is there a reason or a bug that query parameters are getting dropped?