diff options
Diffstat (limited to '')
-rw-r--r-- | lib/web/imageRouter/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/web/imageRouter/index.js b/lib/web/imageRouter/index.js index f7e031af..f3c2decf 100644 --- a/lib/web/imageRouter/index.js +++ b/lib/web/imageRouter/index.js @@ -16,7 +16,7 @@ imageRouter.post('/uploadimage', function (req, res) { form.keepExtensions = true if (config.imageUploadType === 'filesystem') { - form.uploadDir = 'public/uploads' + form.uploadDir = config.uploadsPath } form.parse(req, function (err, fields, files) { |