Files
Jiachi LiuandGitHub 2f42cf557e Filter invalid image descriptor from metadata images (#51992)
Filter out the invalid images in metadata og/twitter `images` filter to avoid crash when falsy image slides in.
Add filtering for now as the erroring doesn't show the proper trace pointing to where it's original introduced, might introduce other validation in the future.
2023-06-29 22:17:25 +00:00

10 lines
147 B
TypeScript

export default function Page() {
return 'opengraph-article'
}
export const metadata = {
openGraph: {
images: [{ url: undefined }],
},
}