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

This commit is contained in:
niggl committed 2021-09-25 17:27:59 +02:00
1 parent 75adbf73cf
commit 6d71a3ebf4
1 file changed
-1
-1
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!"
}