Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added screenshot:colors set

  • Loading branch information...
commit d476887c529b543ebb166fdeb134b936f9be5c3f 1 parent f13138f
@tj authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  routes/palette.js
View
1  routes/palette.js
@@ -17,6 +17,7 @@ app.on('screenshot', function(url, path, id){
console.log('palette - colors computed');
colors.forEach(function(color){
+ db.sadd('screenshot:colors', color);
db.sadd('screenshot:color:' + color, id);
db.sadd('screenshot:' + id + ':colors', color);
});
Please sign in to comment.
Something went wrong with that request. Please try again.