mirror of
https://github.com/documenso/documenso.git
synced 2025-11-20 19:51:32 +10:00
chore: use correct link for qrcode
This commit is contained in:
@ -73,6 +73,8 @@ export default async function SigningCertificate({ searchParams }: SigningCertif
|
||||
id: documentId,
|
||||
}).catch(() => null);
|
||||
|
||||
const documentAccessToken = document?.documentAccessToken?.token;
|
||||
|
||||
if (!document) {
|
||||
return redirect('/');
|
||||
}
|
||||
@ -308,7 +310,7 @@ export default async function SigningCertificate({ searchParams }: SigningCertif
|
||||
<div
|
||||
className="flex h-24 w-24 justify-center"
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: renderSVG(`${WEBAPP_BASE_URL}/documents/${documentId}`, {
|
||||
__html: renderSVG(`${WEBAPP_BASE_URL}/q/${documentAccessToken}`, {
|
||||
ecc: 'Q',
|
||||
}),
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user