Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
feat: increase max duration for next-auth
Marc Seitzffcd4342d04e
diff --git a/pages/api/auth/[...nextauth].ts b/pages/api/auth/[...nextauth].tsindex 74648964..36c3e8eb 100644--- a/pages/api/auth/[...nextauth].ts+++ b/pages/api/auth/[...nextauth].ts@@ -8,6 +8,11 @@ import { analytics, identifyUser, trackAnalytics } from "@/lib/analytics";const VERCEL_DEPLOYMENT = !!process.env.VERCEL_URL;+// This function can run for a maximum of 60 seconds+export const config = {+ maxDuration: 120,+};+export const authOptions: NextAuthOptions = {providers: [GoogleProvider({@@ -74,7 +79,7 @@ export const authOptions: NextAuthOptions = {event: "User Signed In",email: message.user.email,});- }+ },},};