From a3558ade245a65ca07bb5fc1fcb6f3d11561bbad Mon Sep 17 00:00:00 2001 From: Jeffrey Warren Date: Tue, 30 Apr 2019 14:25:20 -0400 Subject: [PATCH] Update gl-context.js --- src/modules/_nomodule/gl-context.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/_nomodule/gl-context.js b/src/modules/_nomodule/gl-context.js index 5534a333..fd40e5b5 100644 --- a/src/modules/_nomodule/gl-context.js +++ b/src/modules/_nomodule/gl-context.js @@ -9,8 +9,7 @@ module.exports = function runInBrowserContext(input, callback, step, options) { var obj = { input: input, modOptions: minOptions } -// puppeteer.launch({headless: true, args:['--no-sandbox --disable-setuid-sandbox']}).then(function(browser) { - puppeteer.launch({headless: true, args:['--disable-setuid-sandbox']}).then(function(browser) { + puppeteer.launch({headless: true, args:['--no-sandbox --disable-setuid-sandbox']}).then(function(browser) { browser.newPage().then(page => { /* Maybe there is a better way to this, loading the page coz localstorage API is not available otherwise */