chore: remove next-auth, use simple auth
This commit is contained in:
@@ -1,2 +1,9 @@
|
||||
import { handlers } from '@/lib/auth'
|
||||
export const { GET, POST } = handlers
|
||||
import { NextResponse } from 'next/server'
|
||||
|
||||
// NextAuth kaldırıldı
|
||||
export async function GET() {
|
||||
return NextResponse.json({ error: 'Not found' }, { status: 404 })
|
||||
}
|
||||
export async function POST() {
|
||||
return NextResponse.json({ error: 'Not found' }, { status: 404 })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user