fix: remove trailing slash from canonical URL
This commit is contained in:
parent
3796f23aa6
commit
2d603f5726
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue