mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 19:10:38 +02:00
Lower case UUIDs - renders
This commit is contained in:
@@ -43,8 +43,8 @@ router.get('/:type/:uuid.:ext?', function(req, res) {
|
||||
return;
|
||||
}
|
||||
|
||||
// strip dashes
|
||||
uuid = uuid.replace(/-/g, "");
|
||||
// strip dashes, to lowercase
|
||||
uuid = uuid.replace(/-/g, "").toLowerCase();
|
||||
|
||||
try {
|
||||
helpers.get_render(uuid, scale, helm, body, function(err, status, hash, image) {
|
||||
|
||||
Reference in New Issue
Block a user