Merge pull request #25 from jasongitmail/patch-4

Convert tab to space for Usage code in README
This commit is contained in:
Shivam Meena
2023-06-14 16:12:34 +05:30
committed by GitHub

View File

@@ -46,17 +46,17 @@ const fontFile = await fetch('https://og-playground.vercel.app/inter-latin-ext-4
const fontData: ArrayBuffer = await fontFile.arrayBuffer();
export const GET: RequestHandler = async () => {
return await ImageResponse(template, {
height: 630,
width: 1200,
fonts: [
{
name: 'Inter Latin',
data: fontData,
weight: 400
}
]
});
return await ImageResponse(template, {
height: 630,
width: 1200,
fonts: [
{
name: 'Inter Latin',
data: fontData,
weight: 400
}
]
});
};
```