2
0
mirror of https://github.com/thumbsup/thumbsup synced 2024-11-11 07:10:26 +00:00

Fix over-eager copy of original media

This commit is contained in:
rprieto 2014-04-26 18:23:19 +10:00
parent 8a468026da
commit 88ad9d6d05

View File

@ -63,8 +63,12 @@ exports.build = function(opts) {
}
function copyMedia(callback) {
var dest = path.join(opts.output, 'media', 'original');
copyFolder(opts.input, dest, callback);
regen({
cwd: opts.input,
src: '**/*.{jpg,jpeg,png,mp4,mov}',
dest: media + '/original/$path/$name.$ext',
process: fs.copy
}, callback);
}
function photoLarge(callback) {