a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

bump microlink screenshot width to 1400 to account for full canvas width

+2 -2
+1 -1
actions/addPageLink.ts
··· 44 44 }, 45 45 }), 46 46 fetch( 47 - `https://pro.microlink.io/?url=${url}&screenshot&viewport.width=1247&viewport.height=1080&embed=screenshot.url`, 47 + `https://pro.microlink.io/?url=${url}&screenshot&viewport.width=1400&viewport.height=1213&embed=screenshot.url`, 48 48 { 49 49 headers: { 50 50 "x-api-key": process.env.MICROLINK_API_KEY!,
+1 -1
app/[leaflet_id]/opengraph-image.tsx
··· 10 10 let protocol = headersList.get("x-forwarded-proto"); 11 11 let path = `${protocol}://${hostname}/${props.params.leaflet_id}`; 12 12 let response = await fetch( 13 - `https://pro.microlink.io/?url=${path}&screenshot=true&&viewport.width=1200&viewport.height=630&meta=false&embed=screenshot.url`, 13 + `https://pro.microlink.io/?url=${path}&screenshot=true&viewport.width=1400&viewport.height=733&meta=false&embed=screenshot.url`, 14 14 { 15 15 headers: { 16 16 "x-api-key": process.env.MICROLINK_API_KEY!,