Merge branch 'dev' into staging
This commit is contained in:
commit
2b7d7cc3f3
@ -90,6 +90,7 @@ export default class OfficeFoldersController extends ApiController {
|
|||||||
const sortedHashes = [...folderHashes].sort();
|
const sortedHashes = [...folderHashes].sort();
|
||||||
const anchoringProof = await this.secureService.download(sortedHashes, officeFolder.office!.name);
|
const anchoringProof = await this.secureService.download(sortedHashes, officeFolder.office!.name);
|
||||||
|
|
||||||
|
|
||||||
const addFileToZip =
|
const addFileToZip =
|
||||||
(zip: Zip) =>
|
(zip: Zip) =>
|
||||||
(uid: string): Promise<void> =>
|
(uid: string): Promise<void> =>
|
||||||
|
@ -22,9 +22,9 @@ export default class AnchoringProofService extends BaseService {
|
|||||||
public async generate(data: AnchoringProofData): Promise<Buffer> {
|
public async generate(data: AnchoringProofData): Promise<Buffer> {
|
||||||
const browser = await puppeteer.launch({
|
const browser = await puppeteer.launch({
|
||||||
headless: "new",
|
headless: "new",
|
||||||
executablePath: `/usr/bin/chromium`,
|
|
||||||
args: ["--no-sandbox", "--disable-setuid-sandbox"],
|
args: ["--no-sandbox", "--disable-setuid-sandbox"],
|
||||||
});
|
});
|
||||||
|
|
||||||
const page = await browser.newPage();
|
const page = await browser.newPage();
|
||||||
|
|
||||||
const proofTemplateSvg = proofTemplate({
|
const proofTemplateSvg = proofTemplate({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user