From b61da5f831080aee6e62652600109b6a471fc9a4 Mon Sep 17 00:00:00 2001 From: OxSaitama Date: Fri, 6 Oct 2023 16:09:29 +0200 Subject: [PATCH] refacto puppeteer config --- .../common/AnchoringProofService/AnchoringProofService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/common/AnchoringProofService/AnchoringProofService.ts b/src/services/common/AnchoringProofService/AnchoringProofService.ts index b1af4a2d..6f13103f 100644 --- a/src/services/common/AnchoringProofService/AnchoringProofService.ts +++ b/src/services/common/AnchoringProofService/AnchoringProofService.ts @@ -72,8 +72,8 @@ export default class AnchoringProofService extends BaseService { */ public async generate(data: AnchoringProofData): Promise { const browser = await puppeteer.launch({ - headless: "new", - args: ["--no-sandbox", "--disable-setuid-sandbox"], + headless: true, + args: ["--no-sandbox", "--disable-gpu"], }); const page = await browser.newPage();