diff --git a/app/(app)/articles/[slug]/page.tsx b/app/(app)/articles/[slug]/page.tsx index 508fa7a8..1a1e93e2 100644 --- a/app/(app)/articles/[slug]/page.tsx +++ b/app/(app)/articles/[slug]/page.tsx @@ -38,12 +38,12 @@ export async function generateMetadata({ params }: Props): Promise { openGraph: { description: post.excerpt, type: "article", - images: [`/api/og?title=${encodeURIComponent(post.title)}`], + images: [`/og?title=${encodeURIComponent(post.title)}`], siteName: "CodĂș", }, twitter: { description: post.excerpt, - images: [`/api/og?title=${encodeURIComponent(post.title)}`], + images: [`/og?title=${encodeURIComponent(post.title)}`], }, alternates: { canonical: post.canonicalUrl, diff --git a/app/api/og/route.tsx b/app/og/route.tsx similarity index 100% rename from app/api/og/route.tsx rename to app/og/route.tsx