fix(core): update

This commit is contained in:
2019-11-15 19:59:57 +01:00
parent 18c8ef9606
commit f37c9d8375
3 changed files with 13 additions and 32 deletions

View File

@@ -26,7 +26,9 @@ export class SmartPdf {
if (this.headlessBrowser) {
this.externalBrowserBool = true;
} else {
this.headlessBrowser = await plugins.smartpuppeteer.getEnvAwareBrowserInstance();
this.headlessBrowser = await plugins.smartpuppeteer.getEnvAwareBrowserInstance({
forceNoSandbox: true
});
}
// setup server