mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
debug log for cloudflare/etag
This commit is contained in:
parent
6945cda8d6
commit
452bb14605
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user