v1.18.x
barisusakli 8 years ago
parent 69c6ee5834
commit b7e6104bbc

@ -122,7 +122,7 @@ function resizeImage(fileObj, callback) {
var extname = path.extname(fileObj.url); var extname = path.extname(fileObj.url);
var basename = path.basename(fileObj.url, extname); var basename = path.basename(fileObj.url, extname);
fileObj.url = path.join(dirname, basename + '-resized' + extname); fileObj.url = dirname + '/' + basename + '-resized' + extname;
next(null, fileObj); next(null, fileObj);
}, },

Loading…
Cancel
Save