Add terraform assets
This commit is contained in:
1 parent
c4cc0630c0
commit
4c54e20a11
3 files changed
+1
No files matched your search
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 463 KiB |
@@ -56,6 +56,7 @@ const pageUrl = `http://localhost:3000/${roadmapId}/svg`;
|
||||
console.log(`Opening page ${pageUrl}`);
|
||||
await page.goto(pageUrl);
|
||||
await page.waitForSelector('#resource-svg-wrap');
|
||||
await page.waitForTimeout(5000);
|
||||
console.log(`Generating PDF ${pageUrl}`);
|
||||
await page.pdf({
|
||||
path: `./public/pdfs/roadmaps/${roadmapId}.pdf`,
|
||||
|
||||
Reference in new issue
Block a user