this repo has no description
0
fork

Configure Feed

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

log font location

+9
+5
src/app/opengraph-image.tsx
··· 9 9 export const contentType = "image/png"; 10 10 11 11 export default async function OpenGraphImage() { 12 + console.log( 13 + join(process.cwd(), "./src/app/fonts/LibreBaskerville-Italic.ttf"), 14 + ); 15 + 12 16 const fontData = await readFile( 13 17 join(process.cwd(), "./src/app/fonts/LibreBaskerville-Italic.ttf"), 14 18 ).then((res) => Uint8Array.from(res).buffer); 19 + 15 20 return new ImageResponse( 16 21 ( 17 22 <div tw="h-full w-full bg-white flex flex-col justify-center items-center">
+4
src/app/post/[rkey]/opengraph-image.tsx
··· 17 17 }) { 18 18 const { rkey } = await params; 19 19 20 + console.log( 21 + join(process.cwd(), "./src/app/fonts/LibreBaskerville-Italic.ttf"), 22 + ); 23 + 20 24 const fontData = await readFile( 21 25 join(process.cwd(), "./src/app/fonts/LibreBaskerville-Italic.ttf"), 22 26 ).then((res) => Uint8Array.from(res).buffer);