Skip to content

Commit 44d83d6

Browse files
authored
Update getChartSVG.js
1 parent 3713c34 commit 44d83d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

server/services/getChartSVG.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ function timeout(ms) {
1010
const page = await browser.newPage();
1111
await page.setViewport({width: 1920, height: 1080})
1212
await page.goto(process.argv[2], {waitUntil: 'networkidle2'});
13-
await timeout(3000)
13+
await timeout(1000)
1414
await page.screenshot({path: process.argv[3], clip: { x: 0, y: 0, width: 1150, height: 1080 }});
1515
browser.close();
1616

17-
})();
17+
})();

0 commit comments

Comments
 (0)