Update index.js
Browse files
index.js
CHANGED
|
@@ -9,7 +9,7 @@ app.get('/get-key', async (req, res) => {
|
|
| 9 |
const browser = await chromium.launch({ headless: true });
|
| 10 |
|
| 11 |
const context = await browser.newContext({
|
| 12 |
-
userAgent: 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Mobile Safari/537.36'
|
| 13 |
});
|
| 14 |
|
| 15 |
const page = await context.newPage();
|
|
|
|
| 9 |
const browser = await chromium.launch({ headless: true });
|
| 10 |
|
| 11 |
const context = await browser.newContext({
|
| 12 |
+
//userAgent: 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Mobile Safari/537.36'
|
| 13 |
});
|
| 14 |
|
| 15 |
const page = await context.newPage();
|