jeudi 6 avril 2017

Query parameters get stuck before hash at root url

I'm building an ember app that will live on a static asset server so I have to use hash routing in my app. At the same time we have another app (that we don't have control of) which opens our ember and url query parameters to the end of the URL.

For example, if our app lives at http://ift.tt/2odm0Ls the other server might load http://ift.tt/2o1iNwm. However, when I the ember app first loads, the redirect the url location to the root url /#/. When this happens, the original query parameters get stuck before the hash: http://ift.tt/2odybIp...

At the same time, the query params never get included in the route transition object to be read and used.

Do I have to manually handle this outside of ember or is there something I'm missing?




Aucun commentaire:

Enregistrer un commentaire