diff --git a/src/app/api/send/route.ts b/src/app/api/send/route.ts index 2d220f38c..42cd89865 100644 --- a/src/app/api/send/route.ts +++ b/src/app/api/send/route.ts @@ -133,7 +133,7 @@ export async function POST(request: Request) { const base = hostname ? `https://${hostname}` : 'https://localhost'; const currentUrl = new URL(url, base); - let urlPath = currentUrl.pathname; + let urlPath = currentUrl.pathname + currentUrl.hash; const urlQuery = currentUrl.search.substring(1); const urlDomain = currentUrl.hostname.replace(/^www./, '');