Nexchan commited on
Commit
1093053
·
verified ·
1 Parent(s): c486e68

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -4
index.js CHANGED
@@ -268,10 +268,7 @@ app.get('/ytmp3', async (req, res) => {
268
 
269
  async function fetchHtml(url) {
270
  // Launch browser dengan mode headless
271
- const browser = await puppeteer.launch({
272
- headless: true,
273
- args: ['--no-sandbox', '--disable-setuid-sandbox']
274
- });
275
 
276
  // Buat page baru
277
  const page = await browser.newPage();
 
268
 
269
  async function fetchHtml(url) {
270
  // Launch browser dengan mode headless
271
+ const browser = await puppeteer.launch();
 
 
 
272
 
273
  // Buat page baru
274
  const page = await browser.newPage();