mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-01-17 14:18:17 +01:00
debug code
This commit is contained in:
parent
e738936b5e
commit
6686e9361c
@ -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…
x
Reference in New Issue
Block a user