Revert "Lower case UUIDs - skins/avatars"

I already commited this ;)

This reverts commit e4bdecfbb756f38a85310a205a5693b7c5055f1b.
This commit is contained in:
jomo 2014-12-08 22:39:38 +01:00
parent 81bc380b0f
commit c8d28ed2df
2 changed files with 4 additions and 4 deletions

View File

@ -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) {

View File

@ -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) {