Skip to content

Commit

Permalink
chore: make browser headless in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
dagimg-dot committed Jul 3, 2024
1 parent e0c4d81 commit 49df4cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class BrowserPool {

async createBrowserInstance(username) {
const browser = await puppeteer.launch({
headless: false,
headless: "new",
// args: ["--no-sandbox", "--disable-setuid-sandbox"],
});

Expand Down

0 comments on commit 49df4cf

Please sign in to comment.