Skip to content

Commit

Permalink
feat: absolute url for opengraph images
Browse files Browse the repository at this point in the history
  • Loading branch information
ridhozhr10 committed Jun 1, 2024
1 parent f788d4a commit 84ce34c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/posts/[...path]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export function generateMetadata({ params }: Props): Metadata {
title,
url: `${baseURL}/posts/${post.path.join("/")}`,
description: post.description,
images: [post.ogImage.url],
images: [`${baseURL}${post.ogImage.url}`],
type: "article",
authors: "ridhozhr10.github.io",
publishedTime: post.created_at,
Expand Down

0 comments on commit 84ce34c

Please sign in to comment.