fix: remove trailing slash from canonical URL
This commit is contained in:
parent
3796f23aa6
commit
2d603f5726
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ const footerLinks = [
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
|
const canonicalURL = new URL(Astro.url.pathname, Astro.site).toString().replace(/\/$/, "");
|
||||||
---
|
---
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue