Skip to content

The Open Source DocuSign Alternative.

fix: share og updates

Mythied4c23455d8f5
diff --git a/apps/web/src/app/(share)/share/[slug]/page.tsx b/apps/web/src/app/(share)/share/[slug]/page.tsx
index a80020657..b9ca4baea 100644
--- a/apps/web/src/app/(share)/share/[slug]/page.tsx
+++ b/apps/web/src/app/(share)/share/[slug]/page.tsx
@@ -13,10 +13,16 @@ export function generateMetadata({ params: { slug } }: SharePageProps) {
title: 'Documenso - Share',
description: 'I just signed a document with Documenso!',
openGraph: {
- images: [`${APP_BASE_URL}/share/${slug}/opengraph`],
+ title: 'Documenso - Join the open source signing revolution',
+ description: 'I just signed with Documenso!',
+ type: 'website',
+ images: [`${process.env.NEXT_PUBLIC_WEBAPP_URL}/share/${slug}/opengraph`],
},
twitter: {
- images: [`${APP_BASE_URL}/share/${slug}/opengraph`],
+ site: '@documenso',
+ card: 'summary_large_image',
+ images: [`${process.env.NEXT_PUBLIC_WEBAPP_URL}/share/${slug}/opengraph`],
+ description: 'I just signed with Documenso!',
},
} satisfies Metadata;
}