Does Nitro have support for middleware? #338
Answered
by
pi0
OptimusePrime
asked this question in
Q&A
-
Does Nitro have support for middleware: something similar to Express middleware? If so, how do you define one? |
Beta Was this translation helpful? Give feedback.
Answered by
pi0
Jul 12, 2022
Replies: 1 comment 15 replies
-
Hi. Yes it does. You have to simply put them into https://v3.nuxtjs.org/guide/features/server-routes#server-middleware |
Beta Was this translation helpful? Give feedback.
15 replies
Answer selected by
OptimusePrime
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi. Yes it does. You have to simply put them into
server/middleware
directory 🪄https://v3.nuxtjs.org/guide/features/server-routes#server-middleware