Spaces:
Paused
Paused
Upload index.js
Browse files
index.js
CHANGED
|
@@ -547,7 +547,7 @@ async function fetchHtml(url) {
|
|
| 547 |
// Launch browser dengan mode headless
|
| 548 |
const browser = await puppeteer.launch({
|
| 549 |
headless: true,
|
| 550 |
-
args: ['--no-sandbox', '--disable-setuid-sandbox', '--incognito', '--single-process', '--no-sandbox', '--no-zygote', '--no-cache']
|
| 551 |
timeout: 60000 // Timeout untuk peluncuran browser
|
| 552 |
});
|
| 553 |
|
|
|
|
| 547 |
// Launch browser dengan mode headless
|
| 548 |
const browser = await puppeteer.launch({
|
| 549 |
headless: true,
|
| 550 |
+
args: ['--no-sandbox', '--disable-setuid-sandbox', '--incognito', '--single-process', '--no-sandbox', '--no-zygote', '--no-cache'],
|
| 551 |
timeout: 60000 // Timeout untuk peluncuran browser
|
| 552 |
});
|
| 553 |
|