Add no-sandbox in the puppeteer args

This commit is contained in:
Hongbo Wu
2022-10-27 12:49:00 +08:00
parent 02669a2a52
commit 6ca1e7dc25

View File

@ -211,6 +211,8 @@ const getTweetIds = async (tweetId: string): Promise<string[]> => {
args: [
`--force-device-scale-factor=${factor}`,
`--window-size=${width},${height}`,
'--no-sandbox',
'--disable-setuid-sandbox',
],
})