Move nextauth to app directory
This commit is contained in:
@@ -77,10 +77,11 @@ const options = {
|
||||
}
|
||||
},
|
||||
pages: {
|
||||
signIn: '/soumet',
|
||||
error: '/soumet'
|
||||
signIn: '/pwopose',
|
||||
error: '/pwopose'
|
||||
}
|
||||
}
|
||||
const Auth = (request, response) =>
|
||||
const handler = (request, response) =>
|
||||
NextAuth(request, response, options)
|
||||
export default Auth
|
||||
|
||||
export {handler as GET, handler as POST}
|
||||
Reference in New Issue
Block a user