mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 16:01:16 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// strip dashes
|
// strip dashes, to lowercase
|
||||||
uuid = uuid.replace(/-/g, "");
|
uuid = uuid.replace(/-/g, "").toLowerCase();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
helpers.get_render(uuid, scale, helm, body, function(err, status, hash, image) {
|
helpers.get_render(uuid, scale, helm, body, function(err, status, hash, image) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user