Lower case UUIDs - renders

This commit is contained in:
Jake 2014-12-08 15:36:34 -06:00
parent a6ff10493d
commit 28d2005e3c

View File

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