소스 검색

disable sandbox

Futa Arai 10 달 전
부모
커밋
20079d8407
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      apps/pdf-converter/src/service/pdf-convert.ts

+ 3 - 0
apps/pdf-converter/src/service/pdf-convert.ts

@@ -285,6 +285,9 @@ class PdfConvertService implements OnInit {
       concurrency: Cluster.CONCURRENCY_PAGE,
       maxConcurrency: this.maxConcurrency,
       workerCreationDelay: 10000,
+      puppeteerOptions: {
+        args: ['--no-sandbox'],
+      },
     });
 
     await this.puppeteerCluster.task(async ({ page, data: htmlString }) => {