The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
hardcode redir for vercel deploy
Timur Ercan0258f8c505c9
diff --git a/apps/web/components/layout.tsx b/apps/web/components/layout.tsxindex 8c78c91c8..660bd2f24 100644--- a/apps/web/components/layout.tsx+++ b/apps/web/components/layout.tsx@@ -16,7 +16,7 @@ function useRedirectToLoginIfUnauthenticated() {router.replace({pathname: "/login",query: {- callbackUrl: `http://localhost:3000${location.pathname}${location.search}`,+ callbackUrl: `https://app.documenso.com/${location.pathname}${location.search}`,},});}diff --git a/apps/web/components/login.tsx b/apps/web/components/login.tsxindex 724ecba03..a5b800c5f 100644--- a/apps/web/components/login.tsx+++ b/apps/web/components/login.tsx@@ -29,7 +29,7 @@ export default function Login() {// If not absolute URL, make it absoluteif (!/^https?:\/\//.test(callbackUrl)) {- callbackUrl = `http://localhost:3000/${callbackUrl}`;+ callbackUrl = `https://app.documenso.com/${callbackUrl}`;}const onSubmit = async (values: LoginValues) => {diff --git a/apps/web/components/signup.tsx b/apps/web/components/signup.tsxindex 2b5f51f93..e8e9f82d4 100644--- a/apps/web/components/signup.tsx+++ b/apps/web/components/signup.tsx@@ -43,7 +43,7 @@ export default function Signup() {.then(async () => {await signIn<"credentials">("credentials", {...data,- callbackUrl: "http://localhost:3000/dashboard",+ callbackUrl: "https://app.documenso.com/dashboard",});}).catch((err) => {