debug code
This commit is contained in:
1 parent
e738936b5e
commit
6686e9361c
1 file changed
+5
@@ -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(), {
|
||||
|
||||
Reference in new issue
Block a user