Static GitHub Issues

[2563] Loader completes prematurely if middleware returns a redirect

prev: Possible error in /lib/app/components/nuxt.js
next: Dynamic routes it's not work in Firebase cloud function when refresh page How to fix it?

It appears that if I return a redirect from router middleware, the loader completes, instead of continuing while the page that is being redirected to loads and that routes middleware are executed.

Please let me know if you'd like a repro. Cheers.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2228">#c2228</a>)</em></sub></div>