pull/6003/head
Kamran Ahmed 5 months ago
parent e738936b5e
commit 6686e9361c
  1. 5
      src/pages/og/roadmap/[slug].ts

@ -25,6 +25,11 @@ export const GET: APIRoute<any, Params> = async (context) => {
}
const svg = await getResourceOpenGraph('roadmap', slug);
if (slug === 'devrel') {
console.log(svg);
}
const transformer = Transformer.fromSvg(svg).crop(0, 0, 1200, 630);
return new Response(await transformer.png(), {

Loading…
Cancel
Save