We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efe6040 commit 91b76d7Copy full SHA for 91b76d7
lib/uploadhandler.js
@@ -118,7 +118,7 @@ module.exports = function (options) {
118
}
119
120
var generatePreviews = function () {
121
- if (options.imageTypes.test(fileInfo.name)) {
+ /*if (options.imageTypes.test(fileInfo.name)) {
122
_.each(options.imageVersions, function (value, version) {
123
counter++;
124
// creating directory recursive
@@ -133,7 +133,7 @@ module.exports = function (options) {
133
}, finish);
134
});
135
136
- }
+ }*/
137
138
139
mkdirp(options.uploadDir() + '/', function(err, made) {
0 commit comments