Epikcoder commited on
Commit
b3a087a
·
1 Parent(s): 179edbd

varo gendeng

Browse files
Files changed (1) hide show
  1. beta.js +1 -1
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.json(e)
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')));