I lose my query params on page load
I've just joined a project and everytime that I load an URL with query params, the params are stripped out on load. Where should I look for something that is causing this? Any sort of configuration with SSR?
3 Replies
No, there's no configuration or nuxt logic that adds or removes query params. This is a user-land issue likely being a result of some navigation taking place that's not taking query params into consideration. Perhaps search for
navigateTo
and route change functionality such as .push
or .replace
in the project.Thanks @cuebit , ill take a look into it
This can happen if you use a reverse-proxy like Cloudflare with a page-redirect-rule that does drop query strings. Is this happening locally too?