fix: pdf font

This commit is contained in:
JOYCEQL
2024-11-25 21:08:34 +08:00
parent 75c4a5151f
commit b8f40b5d3a
@@ -29,6 +29,8 @@ export async function POST(req: Request) {
await page.setContent(content);
await page.evaluate(() => document.fonts.ready);
const marginPx = margin + "px";
const pdf = await page.pdf({