add executablePath in browser generate anchoring proof

This commit is contained in:
Max S 2024-09-27 17:38:22 +02:00
parent a599548d4a
commit 404640052f

View File

@ -22,8 +22,9 @@ export default class AnchoringProofService extends BaseService {
public async generate(data: AnchoringProofData): Promise<Buffer> {
const browser = await puppeteer.launch({
headless: "new",
executablePath: `/usr/bin/chromium`,
args: ["--no-sandbox", "--disable-setuid-sandbox"],
});
});
const page = await browser.newPage();