8 lines
208 B
TypeScript
8 lines
208 B
TypeScript
import NextAuth from 'next-auth'
|
|
import { authConfig } from './auth.config'
|
|
|
|
export default NextAuth(authConfig).auth
|
|
|
|
export const config = {
|
|
matcher: ['/((?!api|_next/static|_next/image|.*\\.png$).*)']
|
|
}
|