feat: Make it work on root
This commit is contained in:
@@ -22,7 +22,8 @@ async function clearDownloadsFolder() {
|
|||||||
const browser = await puppeteer.launch({
|
const browser = await puppeteer.launch({
|
||||||
headless: 'new',
|
headless: 'new',
|
||||||
//headless: false,
|
//headless: false,
|
||||||
userDataDir: VOLUME_PATH
|
userDataDir: VOLUME_PATH,
|
||||||
|
args: ['--no-sandbox', '--disable-setuid-sandbox']
|
||||||
});
|
});
|
||||||
const [page] = await browser.pages();
|
const [page] = await browser.pages();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user