From 2279918ae305edb56d3cef4541258a704151e3ca Mon Sep 17 00:00:00 2001 From: William Mantly Date: Mon, 21 Dec 2020 21:31:33 -0500 Subject: [PATCH] backed tracked some changes --- nodejs/routes/index.js | 12 ------------ 1 file changed, 12 deletions(-) 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;