2024-03-17 12:58:25 +01:00
|
|
|
import NextAuth from "next-auth";
|
|
|
|
|
import { authOptions } from "@/app/_lib/authentication";
|
|
|
|
|
|
2025-11-21 14:55:28 +01:00
|
|
|
// Force this route to be dynamic (not statically generated at build time)
|
|
|
|
|
export const dynamic = 'force-dynamic';
|
|
|
|
|
|
2024-03-17 12:58:25 +01:00
|
|
|
const handler = NextAuth(authOptions);
|
|
|
|
|
|
|
|
|
|
export { handler as GET, handler as POST };
|