Fix og image to be at root url always

This commit is contained in:
Sat Naing
2022-09-14 00:05:52 +06:30
parent db657e4ecd
commit 98e45890f7
+1 -1
View File
@@ -16,7 +16,7 @@ const {
} = Astro.props; } = Astro.props;
const canonicalURL = new URL(Astro.url.pathname, Astro.site); const canonicalURL = new URL(Astro.url.pathname, Astro.site);
const socialImageURL = new URL(ogImage, Astro.url); const socialImageURL = new URL(ogImage, Astro.url.origin);
--- ---
<!DOCTYPE html> <!DOCTYPE html>