We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a10377a commit aa50c98Copy full SHA for aa50c98
src/pages/posts/[slug]/index.png.ts
@@ -14,7 +14,11 @@ export async function getStaticPaths() {
14
}));
15
}
16
17
-export const GET: APIRoute = async ({ props }) =>
18
- new Response(await generateOgImageForPost(props as CollectionEntry<"blog">), {
19
- headers: { "Content-Type": "image/png" },
20
- });
+// export const GET: APIRoute = async ({ props }) => {
+// console.log('prop... ', props);
+
+// return new Response(await generateOgImageForPost(props as CollectionEntry<"blog">), {
21
+// headers: { "Content-Type": "image/png" },
22
+// },);
23
24
+// };
0 commit comments