Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
add redirect to welcome page
Marc Seitzc8b0f569477f
diff --git a/pages/index.tsx b/pages/index.tsxindex 21e67ecf..00ef5ae5 100644--- a/pages/index.tsx+++ b/pages/index.tsx@@ -6,10 +6,10 @@ export default function Example() {function signInOrRedirect() {if (session) {- window.location.href = "/documents/new";+ window.location.href = "/documents";} else {signIn("google", {- callbackUrl: `${window.location.origin}/documents/new`,+ callbackUrl: `${window.location.origin}/welcome`,});}}