This commit is contained in:
Jacky Zhao committed 2025-03-12 22:26:39 -07:00
1 parent c5a8b199ae
commit 1fb7756c49
3 files changed
+33 -18

No files matched your search

+1 -3
View File
@@ -115,9 +115,7 @@ export const myImage: SocialImageOptions["imageStructure"] = (...) => {
> const bodyWeight: FontWeight = 400
>
> const [header, body] = await Promise.all(
> [headerFont, bodyFont].map((font) =>
> fs.promises.readFile(path.resolve(font))
> ),
> [headerFont, bodyFont].map((font) => fs.promises.readFile(path.resolve(font))),
> )
>
> return [