Update server.js
Browse files
server.js
CHANGED
|
@@ -462,7 +462,7 @@ app.post('/api/download/playlist', async (req, res) => {
|
|
| 462 |
}
|
| 463 |
});
|
| 464 |
|
| 465 |
-
app.listen(PORT, () => {
|
| 466 |
exec('ffmpeg -version', (error) => {
|
| 467 |
const separator = '='.repeat(60);
|
| 468 |
if (error) {
|
|
@@ -479,6 +479,6 @@ app.listen(PORT, () => {
|
|
| 479 |
} else {
|
| 480 |
console.info('FFmpeg detected - High-quality downloads enabled');
|
| 481 |
}
|
| 482 |
-
console.info(`YouTube Downloader running
|
| 483 |
});
|
| 484 |
});
|
|
|
|
| 462 |
}
|
| 463 |
});
|
| 464 |
|
| 465 |
+
app.listen(PORT, '0.0.0.0', () => {
|
| 466 |
exec('ffmpeg -version', (error) => {
|
| 467 |
const separator = '='.repeat(60);
|
| 468 |
if (error) {
|
|
|
|
| 479 |
} else {
|
| 480 |
console.info('FFmpeg detected - High-quality downloads enabled');
|
| 481 |
}
|
| 482 |
+
console.info(`YouTube Downloader running on port ${PORT}`);
|
| 483 |
});
|
| 484 |
});
|