diff options
Diffstat (limited to '')
-rw-r--r-- | lib/web/imageRouter.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/web/imageRouter.js b/lib/web/imageRouter.js index 7a3819c5..592a497c 100644 --- a/lib/web/imageRouter.js +++ b/lib/web/imageRouter.js @@ -42,7 +42,7 @@ imageRouter.post('/uploadimage', function (req, res) { var AWS = require('aws-sdk') var awsConfig = new AWS.Config(config.s3) var s3 = new AWS.S3(awsConfig) - + const {getImageMimeType} = require('../utils') fs.readFile(files.image.path, function (err, buffer) { if (err) { logger.error(err) |