But when you initialize the module without imageVersions an error occurs:
.../blueimp-file-upload-expressjs/index.js:50
Object.keys(opts.imageVersions).forEach(function(version) {
^
TypeError: Object.keys called on non-object
This simple PR fixes this issue with checking for opts.imageVersions before working with it.
Demo says, that minimal options are these:
But when you initialize the module without
imageVersions
an error occurs:This simple PR fixes this issue with checking for
opts.imageVersions
before working with it.