Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: change domains

Marc Seitz76aa72abb0ae
diff --git a/pages/api/auth/[...nextauth].ts b/pages/api/auth/[...nextauth].ts
index 772b6978..d4058597 100644
--- a/pages/api/auth/[...nextauth].ts
+++ b/pages/api/auth/[...nextauth].ts
@@ -23,7 +23,7 @@ export const authOptions: NextAuthOptions = {
sameSite: "lax",
path: "/",
// When working on localhost, the cookie domain must be omitted entirely (https://stackoverflow.com/a/1188145)
- domain: VERCEL_DEPLOYMENT ? "everything.to" : undefined,
+ domain: VERCEL_DEPLOYMENT ? "www.papermark.io" : undefined,
secure: VERCEL_DEPLOYMENT,
},
},