Create the Login API

This commit is contained in:
2024-05-20 04:14:16 +04:00
parent 2d477644fb
commit 851fd9c051
2 changed files with 79 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
/* eslint-disable new-cap */
import NextAuth from 'next-auth'
import {options} from './options.js'
const handler = NextAuth(options)
export {handler as GET, handler as POST}