Spaces:
Running
Running
Update index.js
Browse files
index.js
CHANGED
@@ -303,10 +303,6 @@ app.all(/^\/y(outube|t)(\/(d(ownload|l)|search)?)?/, async (req, res) => {
|
|
303 |
|
304 |
// app.use((req, res, next) => {})
|
305 |
|
306 |
-
app.listen(7860,
|
307 |
-
if (!browser) {
|
308 |
-
browser = await utils.getBrowser()
|
309 |
-
await browser.newPage()
|
310 |
-
}
|
311 |
console.log('App running on port 7860')
|
312 |
})
|
|
|
303 |
|
304 |
// app.use((req, res, next) => {})
|
305 |
|
306 |
+
app.listen(7860, () => {
|
|
|
|
|
|
|
|
|
307 |
console.log('App running on port 7860')
|
308 |
})
|