wudysoft commited on
Commit
3e35521
·
verified ·
1 Parent(s): efa224f

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +1 -2
app.js CHANGED
@@ -187,8 +187,7 @@ app.get('/ytdl/v2', async (req, res) => {
187
  const lastLine = responseText
188
  .split('\n')
189
  .map(line => line.trim().substring(5).trim())
190
- .filter(Boolean)
191
- .pop();
192
 
193
  if (!lastLine) return res.status(404).json({ error: 'No valid data found.' });
194
 
 
187
  const lastLine = responseText
188
  .split('\n')
189
  .map(line => line.trim().substring(5).trim())
190
+ .filter(Boolean);
 
191
 
192
  if (!lastLine) return res.status(404).json({ error: 'No valid data found.' });
193