one last coersion

This commit is contained in:
hobbes7878 2025-03-12 12:34:34 +00:00
parent 02efac9e5b
commit 42e012ab1b
Failed to extract signature

View file

@ -78,7 +78,7 @@
let origin = $derived(getOrigin(baseUrl));
let canonicalUrl = $derived(
(origin + pageUrl?.pathname).replace(/index\.html\/$/, '')
(origin + (pageUrl?.pathname || '')).replace(/index\.html\/$/, '')
);
const orgLdJson = {