Skip to content

Does Nitro have support for middleware? #338

Answered by pi0
OptimusePrime asked this question in Q&A
Discussion options

You must be logged in to vote

Hi. Yes it does. You have to simply put them into server/middleware directory 🪄

https://v3.nuxtjs.org/guide/features/server-routes#server-middleware

Replies: 1 comment 15 replies

Comment options

You must be logged in to vote
15 replies
@Shahriar-Rahi
Comment options

@Baloche
Comment options

@pi0
Comment options

@mipruch
Comment options

@slavanossar
Comment options

Answer selected by OptimusePrime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants