diff --git a/nodejs/routes/index.js b/nodejs/routes/index.js index 674d52d..177d35b 100755 --- a/nodejs/routes/index.js +++ b/nodejs/routes/index.js @@ -25,16 +25,4 @@ router.get('/login', function(req, res, next) { res.render('login', {redirect: req.query.redirect}); }); -router.get('/lookup/:host', async function(req, res, next){ - try{ - return res.json({ - string: req.params.host, - results: await Host.lookUp(req.params.host), - }); - - }catch(error){ - return next(error); - } -}); - module.exports = router;