add executablePath in browser generate anchoring proof
This commit is contained in:
parent
a599548d4a
commit
404640052f
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user