Removed unused log
continuous-integration/drone/push Build is passing Details

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
1 changed files with 0 additions and 1 deletions

View File

@ -112,7 +112,6 @@ fastify.get('/:shortcode', async (req, res) => {
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){
return "Bad Bot!"
}