Update solid.js
Browse files
solid.js
CHANGED
|
@@ -93,8 +93,7 @@ async function searchTorrents(searchQuery) {
|
|
| 93 |
try {
|
| 94 |
const browser = await puppeteer.launch({
|
| 95 |
executablePath: 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe'
|
| 96 |
-
|
| 97 |
-
headless: 'new', // Use 'new' mode for better compatibility
|
| 98 |
args: ['--no-sandbox', '--disable-setuid-sandbox']
|
| 99 |
}););
|
| 100 |
const page = await browser.newPage();
|
|
|
|
| 93 |
try {
|
| 94 |
const browser = await puppeteer.launch({
|
| 95 |
executablePath: 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe'
|
| 96 |
+
|
|
|
|
| 97 |
args: ['--no-sandbox', '--disable-setuid-sandbox']
|
| 98 |
}););
|
| 99 |
const page = await browser.newPage();
|