Skip to content

The Open Source DocuSign Alternative.

fix: revert hardcoded env

David Nguyena06b40af3c4a
diff --git a/apps/marketing/src/components/(marketing)/pricing-table.tsx b/apps/marketing/src/components/(marketing)/pricing-table.tsx
index ce4695199..bdaa9fdf4 100644
--- a/apps/marketing/src/components/(marketing)/pricing-table.tsx
+++ b/apps/marketing/src/components/(marketing)/pricing-table.tsx
@@ -8,6 +8,7 @@ import Link from 'next/link';
import { AnimatePresence, motion } from 'framer-motion';
import { usePlausible } from 'next-plausible';
+import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
import { cn } from '@documenso/ui/lib/utils';
import { Button } from '@documenso/ui/primitives/button';
@@ -82,7 +83,7 @@ export const PricingTable = ({ className, ...props }: PricingTableProps) => {
</p>
<Button className="rounded-full text-base" asChild>
- <Link href={`https://documen.so/signup`} className="mt-6">
+ <Link href={`${NEXT_PUBLIC_WEBAPP_URL()}/signup`} target="_blank" className="mt-6">
Signup Now
</Link>
</Button>
@@ -113,7 +114,9 @@ export const PricingTable = ({ className, ...props }: PricingTableProps) => {
</p>
<Button className="mt-6 rounded-full text-base" asChild>
- <Link href={`https://documen.so/signup`}>Signup Now</Link>
+ <Link href={`${NEXT_PUBLIC_WEBAPP_URL()}/signup`} target="_blank">
+ Signup Now
+ </Link>
</Button>
<div className="mt-8 flex w-full flex-col divide-y">