mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-20 21:01:31 +02:00
Update social meta tags
This commit is contained in:
@@ -19,7 +19,7 @@ process.setMaxListeners(0);
|
||||
await page.waitForSelector('.demo');
|
||||
const element = await page.$('.demo');
|
||||
await element.screenshot({
|
||||
path: `public/patterns/${pattern}.png`
|
||||
path: `public/assets/patterns/${pattern}.png`
|
||||
});
|
||||
await page.close();
|
||||
})
|
||||
|
Reference in New Issue
Block a user