Skip to content

Commit

Permalink
refactor: try to resolve no screenshot problem by remove single process.
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Sep 30, 2024
1 parent de09059 commit fe432f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/utils/screenshot/lighthouse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export async function generateLighthouse(url: string): Promise<Result> {
// Set to false if you want to see the script in action.
executablePath: env.puppeteerExecutablePath,
headless: true,
args: ['--no-sandbox', '--single-process', '--disable-dev-shm-usage'],
args: ['--no-sandbox', '--disable-dev-shm-usage'],
defaultViewport: null,
ignoreDefaultArgs: ['--enable-automation'],
});
Expand Down

0 comments on commit fe432f1

Please sign in to comment.