Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
fix: Cannot use it on a website with self signed certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
Flowko committed Jun 15, 2023
1 parent 5dec40d commit 77b5904
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server-middleware/website-shot.js
Expand Up @@ -96,6 +96,7 @@ app.post("/screenshot", async (req, res) => {
: false,
launchOptions: {
headless: true,
ignoreHTTPSErrors: true,
args: ["--no-sandbox", "--disable-setuid-sandbox"],
ignoreDefaultArgs: ["--disable-extensions"],
product: "chrome",
Expand Down

0 comments on commit 77b5904

Please sign in to comment.