Skip to content

Commit

Permalink
refactor: change headless from "new" to "shell"
Browse files Browse the repository at this point in the history
  • Loading branch information
hung-cybo committed Mar 15, 2024
1 parent aabcf21 commit cf9e269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-uploader/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const launchBrowser = (
ignoreDefaultArgs?: string[],
): Promise<Browser> => {
const args = proxy ? [`--proxy-server=${proxy}`] : [];
return puppeteer.launch({ args, ignoreDefaultArgs, headless: "new" });
return puppeteer.launch({ args, ignoreDefaultArgs, headless: "shell" });
};

const readyForUpload = async (
Expand Down

0 comments on commit cf9e269

Please sign in to comment.