mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 07:51:17 +01:00
Revert "Lower case UUIDs - skins/avatars"
I already commited this ;) This reverts commit e4bdecfbb756f38a85310a205a5693b7c5055f1b.
This commit is contained in:
parent
81bc380b0f
commit
c8d28ed2df
@ -33,8 +33,8 @@ router.get("/:uuid.:ext?", function(req, res) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// strip dashes, to lower case
|
// strip dashes
|
||||||
uuid = uuid.replace(/-/g, "").toLowerCase();
|
uuid = uuid.replace(/-/g, "");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
helpers.get_avatar(uuid, helm, size, function(err, status, image, hash) {
|
helpers.get_avatar(uuid, helm, size, function(err, status, image, hash) {
|
||||||
|
|||||||
@ -18,8 +18,8 @@ router.get("/:uuid.:ext?", function(req, res) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// strip dashes, to lower case
|
// strip dashes
|
||||||
uuid = uuid.replace(/-/g, "").toLowerCase();
|
uuid = uuid.replace(/-/g, "");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
helpers.get_skin(uuid, function(err, hash, image) {
|
helpers.get_skin(uuid, function(err, hash, image) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user