From a512fd64b5f263c15ae7bcaee587c59816a181b1 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Wed, 5 Jan 2022 16:32:47 +0100 Subject: [PATCH] fix(core): update --- ts/smartpdf.classes.smartpdf.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/smartpdf.classes.smartpdf.ts b/ts/smartpdf.classes.smartpdf.ts index e10c451..2c5df26 100644 --- a/ts/smartpdf.classes.smartpdf.ts +++ b/ts/smartpdf.classes.smartpdf.ts @@ -69,8 +69,8 @@ export class SmartPdf { this._candidates[pdfCandidate.pdfId] = pdfCandidate; const page = await this.headlessBrowser.newPage(); await page.setViewport({ - height: 842, - width: 595, + width: 794, + height: 1122 }) const response = await page.goto(`http://localhost:3210/${pdfCandidate.pdfId}`, { waitUntil: 'networkidle2',