mhx Posted on Jul 19, 2022 Simple Protected Routes Middleware in NextJS 12 #webdev #nextjs #javascript #react just put the code below in <project-root>/middleware.ts https://gist.github.com/mhaecal/f6acdfb108080fdce44e4c2f3eead306 Top comments (0) Subscribe Submit Preview Dismiss Code of Conduct • Report abuse
Top comments (0)