mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 07:51:17 +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) {
|
} else if (err) {
|
||||||
http_status = 503;
|
http_status = 503;
|
||||||
}
|
}
|
||||||
console.log("matches: " + matches);
|
logging.log("matches: " + matches);
|
||||||
console.log("status: " + http_status);
|
logging.log("Etag: " + req.get("If-None-Match"));
|
||||||
|
logging.log("status: " + http_status);
|
||||||
sendimage(http_status, status, image);
|
sendimage(http_status, status, image);
|
||||||
} else {
|
} else {
|
||||||
handle_default(404, status);
|
handle_default(404, status);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user