mirror of
https://github.com/vercel/next-learn.git
synced 2026-07-09 06:55:12 +00:00
Update to latest + refactoring.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
export { default } from 'next-auth/middleware';
|
||||
import { auth } from './auth';
|
||||
|
||||
export const middleware = auth;
|
||||
|
||||
export const config = {
|
||||
matcher: ['/dashboard/:path*'],
|
||||
|
||||
Reference in New Issue
Block a user