fix(core): update
This commit is contained in:
		| @@ -68,6 +68,10 @@ export class SmartPdf { | ||||
|     const pdfCandidate = new PdfCandidate(htmlStringArg); | ||||
|     this._candidates[pdfCandidate.pdfId] = pdfCandidate; | ||||
|     const page = await this.headlessBrowser.newPage(); | ||||
|     await page.setViewport({ | ||||
|       height: 842, | ||||
|       width: 595, | ||||
|     }) | ||||
|     const response = await page.goto(`http://localhost:3210/${pdfCandidate.pdfId}`, { | ||||
|       waitUntil: 'networkidle2', | ||||
|     }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user