fix(core): update

This commit is contained in:
Philipp Kunz 2022-01-05 16:32:47 +01:00
parent 377318a62a
commit a512fd64b5

View File

@ -69,8 +69,8 @@ export class SmartPdf {
this._candidates[pdfCandidate.pdfId] = pdfCandidate; this._candidates[pdfCandidate.pdfId] = pdfCandidate;
const page = await this.headlessBrowser.newPage(); const page = await this.headlessBrowser.newPage();
await page.setViewport({ await page.setViewport({
height: 842, width: 794,
width: 595, height: 1122
}) })
const response = await page.goto(`http://localhost:3210/${pdfCandidate.pdfId}`, { const response = await page.goto(`http://localhost:3210/${pdfCandidate.pdfId}`, {
waitUntil: 'networkidle2', waitUntil: 'networkidle2',