diff options
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -499,7 +499,7 @@ app.post('/uploadimage', function (req, res) { fs.readFile(files.image.path, function (err, buffer) { var params = { - Bucket: 'hackmd', + Bucket: config.s3bucket, Key: path.join('uploads', path.basename(files.image.path)), Body: buffer }; |