mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-11 19:00:00 +01:00
update puppeteer for headless (#1031)
* update puppeteer for headless * version bump for v3.1.1 bugfix * --disable-setuid-sandbox * remove --no-sandbox but leave --disable-setuid-sandbox * Update gl-context.js * ['--no-sandbox', '--disable-setuid-sandbox']
This commit is contained in:
3202
package-lock.json
generated
3202
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "image-sequencer",
|
||||
"version": "3.3.0",
|
||||
"version": "3.3.1",
|
||||
"description": "A modular JavaScript image manipulation library modeled on a storyboard.",
|
||||
"main": "src/ImageSequencer.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -9,7 +9,7 @@ module.exports = function runInBrowserContext(input, callback, step, options) {
|
||||
|
||||
var obj = { input: input, modOptions: minOptions }
|
||||
|
||||
puppeteer.launch().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 */
|
||||
|
||||
Reference in New Issue
Block a user