one last coersion
This commit is contained in:
parent
02efac9e5b
commit
42e012ab1b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue