CodePark/ questions / Route handlers & middleware
START PRACTICINGPRACTICE
Frontend question · Next.js › Route handlers & middleware

Your middleware should only run for /dashboard and its sub-paths. What is the recommended approach?