Skip to content

Commit aa50c98

Browse files
committed
update
1 parent a10377a commit aa50c98

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/pages/posts/[slug]/index.png.ts

+8-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ export async function getStaticPaths() {
1414
}));
1515
}
1616

17-
export const GET: APIRoute = async ({ props }) =>
18-
new Response(await generateOgImageForPost(props as CollectionEntry<"blog">), {
19-
headers: { "Content-Type": "image/png" },
20-
});
17+
// export const GET: APIRoute = async ({ props }) => {
18+
// console.log('prop... ', props);
19+
20+
// return new Response(await generateOgImageForPost(props as CollectionEntry<"blog">), {
21+
// headers: { "Content-Type": "image/png" },
22+
// },);
23+
24+
// };

0 commit comments

Comments
 (0)