Closed pickled-cucumber closed 2 years ago
Next.js has changed the way middleware is handled and the blog post is now out of date. Source: https://nextjs.org/docs/advanced-features/middleware
Thank you! I will update it
Hey, @pickled-cucumber, this is the update:
https://blog.tericcabrel.com/protect-your-api-routes-in-next-js-with-middleware
Thank you again.
Next.js has changed the way middleware is handled and the blog post is now out of date. Source: https://nextjs.org/docs/advanced-features/middleware