We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1c2c75 commit 77b905bCopy full SHA for 77b905b
apps/blog/web/public/og-default.svg
apps/blog/web/src/app/api/og/route.tsx
apps/blog/web/src/app/posts/[...slug]/page.tsx
@@ -42,17 +42,10 @@ export async function generateMetadata({ params }: Props): Promise<Metadata> {
42
publishedTime: post.date || undefined,
43
images: [
44
{
45
- url: `/api/og?title=${encodeURIComponent(post.title)}&date=${encodeURIComponent(
46
- post.date
47
- ? new Date(post.date).toLocaleDateString('ko-KR', {
48
- year: 'numeric',
49
- month: 'long',
50
- day: 'numeric',
51
- })
52
- : '',
53
- )}`,
+ url: '/og-default.svg',
54
width: 1200,
55
height: 630,
+ alt: 'FE Lab Blog - Frontend Experimentation',
56
},
57
],
58
0 commit comments