2022-12-02 10:55:56 +00:00
|
|
|
import NextAuth from "next-auth";
|
2024-09-27 13:11:31 +02:00
|
|
|
import { authOptions } from "@/app/_lib/authentication";
|
2023-08-25 07:11:33 +00:00
|
|
|
|
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-20 17:51:21 +01:00
|
|
|
const handler = NextAuth(authOptions);
|
2023-06-26 10:07:12 +00:00
|
|
|
|
|
|
|
|
export { handler as GET, handler as POST };
|