@ -80,7 +80,7 @@ app.get('/:encoded_id', function(req, res){
Url.findOneAndUpdate({_id: id}, {$inc:{visits:1}}, function (err, doc){
if (doc) {
logger.debug('doc', doc);
res.redirect(doc.long_url);
res.redirect(307, doc.long_url);
} else {
res.redirect(config.webhost);
}
The note is not visible to the blocked user.