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