Update to latest + refactoring.

This commit is contained in:
Lee Robinson
2023-10-06 22:13:22 -05:00
parent 4be9de1269
commit 197ffcd6b9
16 changed files with 368 additions and 2491 deletions

View File

@@ -1,6 +1,4 @@
import NextAuth from 'next-auth';
import { authOptions } from '@/auth';
import { handlers } from '@/auth';
const handler = NextAuth(authOptions);
export { handler as GET, handler as POST };
const { GET, POST } = handlers;
export { GET, POST };