mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 19:41:02 +08:00
Fix og image to be at root url always
This commit is contained in:
@@ -16,7 +16,7 @@ const {
|
||||
} = Astro.props;
|
||||
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user