Next project, middleware not being used?
Unanswered
Polar bear posted this in #help-forum
Original message was deleted.
1 Reply
It should be in the root of the project not in the app directory. See here:
https://nextjs.org/docs/app/building-your-application/routing/middleware
https://nextjs.org/docs/app/building-your-application/routing/middleware