homebridge-website-to-camera
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "homebridge-website-to-camera", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "shows the screenshot of a website as camera (image)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,3 +15,9 @@ const puppeteer = require('puppeteer'); | ||
this.log("Starting new instance of Chromium: " + this.chromiumPath); | ||
this.browser = await puppeteer.launch({executablePath: this.chromiumPath}); | ||
this.browser = await puppeteer.launch( | ||
{ | ||
executablePath: this.chromiumPath, | ||
headless: true, | ||
args: ['--no-sandbox'] // required if homebridge is started as root-user | ||
} | ||
); | ||
this.log("Chromium started"); | ||
@@ -18,0 +24,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1810850
264