Files
2026-08-26 14:21:53 +03:00

12 lines
177 B
TypeScript

import { withAuth } from 'next-auth/middleware'
export default withAuth({
pages: {
signIn: '/login',
},
})
export const config = {
matcher: ['/dashboard/:path*'],
}