Epikcoder
commited on
Commit
·
b3a087a
1
Parent(s):
179edbd
varo gendeng
Browse files
beta.js
CHANGED
@@ -65,7 +65,7 @@ app.all("/down", async(req,res) => {
|
|
65 |
if(!url) return res.json({error: "invalid url/nourl"})
|
66 |
return res.json(await main(url))
|
67 |
}catch(e) {
|
68 |
-
return res.
|
69 |
}
|
70 |
})
|
71 |
app.use(express.static(path.join(__dirname, 'output')));
|
|
|
65 |
if(!url) return res.json({error: "invalid url/nourl"})
|
66 |
return res.json(await main(url))
|
67 |
}catch(e) {
|
68 |
+
return res.send(e)
|
69 |
}
|
70 |
})
|
71 |
app.use(express.static(path.join(__dirname, 'output')));
|