debug log for cloudflare/etag

This commit is contained in:
jomo 2014-11-27 13:37:14 +01:00
parent 6945cda8d6
commit 452bb14605

View File

@ -91,8 +91,9 @@ router.get('/avatars/:uuid.:ext?', function(req, res) {
} else if (err) {
http_status = 503;
}
console.log("matches: " + matches);
console.log("status: " + http_status);
logging.log("matches: " + matches);
logging.log("Etag: " + req.get("If-None-Match"));
logging.log("status: " + http_status);
sendimage(http_status, status, image);
} else {
handle_default(404, status);