diff --git a/src/pages/dashboard/admin.tsx b/src/pages/dashboard/admin.tsx index ac39fc41..3040448f 100644 --- a/src/pages/dashboard/admin.tsx +++ b/src/pages/dashboard/admin.tsx @@ -612,10 +612,11 @@ function Admin({ user }: adminProps) { hours, publisherName ); + const absoluteUrl = new URL(url, window.location.href); await navigator.share({ title: title, text: body, - url: url + url: absoluteUrl.toString() }); setAccordionKeys((existingKeys) => existingKeys.filter((key) => key !== postalcode)