Open Zenoo opened 1 week ago
Is your feature request related to a problem? Please describe. I have 2 middlewares that need to run for every route: one for NextAuth and one for I18n.
Describe the solution you'd like
const globalMiddlewares = { before: [auth, i18n], after: null, };
Describe alternatives you've considered I'm not sure how to do that otherwise, I'm open to suggestions if it's possible another way.
NEM-20 Support multiple global middlewares
Good catch! Will add this soon! :D
Is your feature request related to a problem? Please describe. I have 2 middlewares that need to run for every route: one for NextAuth and one for I18n.
Describe the solution you'd like
Describe alternatives you've considered I'm not sure how to do that otherwise, I'm open to suggestions if it's possible another way.