fix(core): update
This commit is contained in:
parent
d6f0d88d4a
commit
e74b44b49c
@ -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',
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user