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(); const fontData: ArrayBuffer = await fontFile.arrayBuffer();
export const GET: RequestHandler = async () => { export const GET: RequestHandler = async () => {
return await ImageResponse(template, { return await ImageResponse(template, {
height: 630, height: 630,
width: 1200, width: 1200,
fonts: [ fonts: [
{ {
name: 'Inter Latin', name: 'Inter Latin',
data: fontData, data: fontData,
weight: 400 weight: 400
} }
] ]
}); });
}; };
``` ```