Upgrade to NextAuth v5
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
/* eslint-disable new-cap */
|
||||
import NextAuth from 'next-auth'
|
||||
import {options} from './options.js'
|
||||
import {handlers} from '../../../../auth.js'
|
||||
|
||||
const handler = NextAuth(options)
|
||||
|
||||
export {handler as GET, handler as POST}
|
||||
export const {GET, POST} = handlers
|
||||
|
||||
Reference in New Issue
Block a user