refacto puppeteer config
This commit is contained in:
parent
386986ae59
commit
b61da5f831
@ -72,8 +72,8 @@ export default class AnchoringProofService extends BaseService {
|
||||
*/
|
||||
public async generate(data: AnchoringProofData): Promise<Buffer> {
|
||||
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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user