Static GitHub Issues

[308] Global middleware exclude list

prev: Windows - warning - multiple modules with names that only differ in casing
next: Nuxt.js with Socket.io Sample

Hi @Atinux

I'm using global middleware to protect authenticated pages. At the middleware, i'm just redirect to / and there is the problem, redirect loop when visiting /.

I know we can use middleware on every pages, but to much pages. It would be nice if we can exclude some pages.

Any suggestion?

<!--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/c263">#c263</a>)</em></sub></div>