Spaces:
Paused
Paused
Update app.js
Browse files
app.js
CHANGED
|
@@ -77,7 +77,7 @@ app.get('/', async (req, res) => {
|
|
| 77 |
}
|
| 78 |
|
| 79 |
try {
|
| 80 |
-
console.log(request to: ${targetUrl})
|
| 81 |
const response = await axios.get(targetUrl, {
|
| 82 |
headers: {
|
| 83 |
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
|
|
|
|
| 77 |
}
|
| 78 |
|
| 79 |
try {
|
| 80 |
+
console.log(`request to: ${targetUrl}`)
|
| 81 |
const response = await axios.get(targetUrl, {
|
| 82 |
headers: {
|
| 83 |
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
|