Merge branch 'master' of github.com:Jake0oo0/crafatar

This commit is contained in:
jomo 2014-12-08 22:38:16 +01:00
commit 81bc380b0f
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 // strip dashes, to lower case
uuid = uuid.replace(/-/g, ""); uuid = uuid.replace(/-/g, "").toLowerCase();
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 // strip dashes, to lower case
uuid = uuid.replace(/-/g, ""); uuid = uuid.replace(/-/g, "").toLowerCase();
try { try {
helpers.get_skin(uuid, function(err, hash, image) { helpers.get_skin(uuid, function(err, hash, image) {