mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 07:51:17 +01:00
Lower case UUIDs - renders
This commit is contained in:
parent
a6ff10493d
commit
28d2005e3c
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user