Skip to content

Commit 70f4865

Browse files
authored
Update uploadhandler.js
1 parent df35fd8 commit 70f4865

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/uploadhandler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ module.exports = function (options) {
146146
var os = fs.createWriteStream(options.uploadDir() + '/' + fileInfo.name);
147147
is.on('end', function (err) {
148148
if (!err) {
149-
fs.unlink(file.path);
150-
generatePreviews();
149+
// fs.unlink(file.path);
150+
// generatePreviews();
151151
}
152152
finish();
153153
});

0 commit comments

Comments
 (0)