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

Commit

Permalink
Merge pull request #50 from Flowko/49-cannot-use-it-on-a-website-with…
Browse files Browse the repository at this point in the history
…-self-signed-certificate

fix: Cannot use it on a website with self signed certificate
  • Loading branch information
Flowko committed Jun 15, 2023
2 parents 5dec40d + 77b5904 commit c278081
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server-middleware/website-shot.js
Original file line number Diff line number Diff line change
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 c278081

Please sign in to comment.