mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 11:00:39 +02:00
log -> debug etag
This commit is contained in:
@@ -51,8 +51,8 @@ router.get("/:uuid.:ext?", function(req, res) {
|
||||
} else if (err) {
|
||||
http_status = 503;
|
||||
}
|
||||
logging.log("matches: " + matches);
|
||||
logging.log("Etag: " + req.get("If-None-Match"));
|
||||
logging.debug("Etag: " + req.get("If-None-Match"));
|
||||
logging.debug("matches: " + matches);
|
||||
logging.log("status: " + http_status);
|
||||
sendimage(http_status, status, image);
|
||||
} else {
|
||||
|
||||
@@ -35,8 +35,8 @@ router.get("/:uuid.:ext?", function(req, res) {
|
||||
} else if (err) {
|
||||
http_status = 503;
|
||||
}
|
||||
logging.log("matches: " + matches);
|
||||
logging.log("Etag: " + req.get("If-None-Match"));
|
||||
logging.debug("Etag: " + req.get("If-None-Match"));
|
||||
logging.debug("matches: " + matches);
|
||||
logging.log("status: " + http_status);
|
||||
sendimage(http_status, image);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user