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