mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-15 07:34:44 -04:00
📸 Use puppeteer in prod and dev
This commit is contained in:
parent
5cd8250685
commit
61ad38d41c
1 changed files with 0 additions and 4 deletions
|
@ -24,10 +24,6 @@ const frameNumber = (number: number, length: number) => {
|
|||
(async () => {
|
||||
const browser = await puppeteer.launch({
|
||||
ignoreDefaultArgs: [" --single-process ", "--no-sandbox"],
|
||||
executablePath:
|
||||
process.env.NODE_ENV == "development"
|
||||
? "/usr/bin/google-chrome-stable"
|
||||
: "",
|
||||
headless: true,
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue