export { auth as proxy } from '@/lib/auth'; export const config = { // Protect all routes except auth callbacks, the login page, and Next.js internals. matcher: ['/((?!api/auth|login|_next/static|_next/image|favicon.ico).*)'], };