Removed unused log
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nicolai Ort 2021-09-25 17:27:59 +02:00
parent 75adbf73cf
commit 6d71a3ebf4
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F

View File

@ -112,7 +112,6 @@ fastify.get('/:shortcode', async (req, res) => {
return 404 return 404
} }
console.log({ua: req.headers['user-agent'], bot: isBot(req.headers['user-agent']), prev: target[0].no_preview})
if(isBot(req.headers['user-agent']) && target[0].no_preview){ if(isBot(req.headers['user-agent']) && target[0].no_preview){
return "Bad Bot!" return "Bad Bot!"
} }