Skip to content

Commit

Permalink
fix: remove baseUrl from ogImage in detail blog post
Browse files Browse the repository at this point in the history
  • Loading branch information
rezafikkri committed Dec 20, 2024
1 parent cc2659c commit 6a5dd63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/blogs/[slug]/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export async function generateMetadata({ params }) {
title: post.title,
description: post.excerpt,
url: `${baseUrl}/blogs/${post.slug}`,
images: [ baseUrl + post.ogImage ],
images: [ post.ogImage ],
type: 'article',
},
};
Expand Down

0 comments on commit 6a5dd63

Please sign in to comment.