Update gl-context.js

This commit is contained in:
Jeffrey Warren
2019-04-30 14:25:20 -04:00
committed by GitHub
parent dd7608283f
commit a3558ade24

View File

@@ -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 */