mjml EMail

This commit is contained in:
2026-03-16 18:00:32 -05:00
parent b9f9df74c0
commit 5a7ba66c27
9 changed files with 3248 additions and 24 deletions

View File

@@ -33,8 +33,9 @@ async function generatePdfFromHtml(html, options = {}) {
}
const page = await browser.newPage();
await page.setContent(html, { waitUntil: 'networkidle0', timeout: 60000 });
//await page.setContent(html, { waitUntil: 'networkidle0', timeout: 60000 });
await page.setContent(html, { waitUntil: 'load', timeout: 5000 });
const pdf = await page.pdf({
format,
printBackground,