mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 07:51:17 +01:00
if true then false else true
This commit is contained in:
parent
62e1994121
commit
834e737498
@ -27,7 +27,7 @@ router.get('/:type/:uuid.:ext?', function(req, res) {
|
||||
return;
|
||||
}
|
||||
|
||||
var body = raw_type == "head" ? false : true
|
||||
var body = raw_type == "body";
|
||||
var uuid = req.params.uuid;
|
||||
var def = req.query.default;
|
||||
var scale = parseInt(req.query.scale) || config.default_scale;
|
||||
@ -66,7 +66,7 @@ router.get('/:type/:uuid.:ext?', function(req, res) {
|
||||
logging.log("status: " + http_status);
|
||||
sendimage(http_status, status, image);
|
||||
} else {
|
||||
logging.log("image not found, using default.")
|
||||
logging.log("image not found, using default.");
|
||||
handle_default(404, status);
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user