import { withMiddlewareAuthRequired } from '@auth0/nextjs-auth0/edge'; export default withMiddlewareAuthRequired(); export const config = { matcher: ['/api/:path*', '/module/:path*', '/user'] };