N
Nuxt5mo ago
Futuro

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
Cue
Cue5mo ago
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.
Futuro
FuturoOP5mo ago
Thanks @cuebit , ill take a look into it
Single
Single5mo ago
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?
Want results from more Discord servers?
Add your server