fix(core): update

This commit is contained in:
2022-09-13 18:39:38 +02:00
parent 4f93d258b8
commit 82b1c187ee
4 changed files with 10 additions and 10 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@pushrocks/smartpdf',
version: '3.0.9',
version: '3.0.10',
description: 'create pdfs on the fly'
}

View File

@ -84,7 +84,7 @@ export class SmartPdf {
const response = await page.goto(`http://localhost:3210/${pdfCandidate.pdfId}`, {
waitUntil: 'networkidle2',
});
await plugins.smartdelay.delayFor(1000);
// await plugins.smartdelay.delayFor(1000);
const headers = response.headers();
if (headers['pdf-id'] !== pdfCandidate.pdfId) {
console.log('Error! Headers do not match. For security reasons no pdf is being emitted!');