Lower case UUIDs - renders

This commit is contained in:
Jake
2014-12-17 14:52:16 -06:00
parent a6ff10493d
commit 28d2005e3c
+2 -2
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) {