This commit is contained in:
S.Noda 2016-12-18 18:58:21 +09:00
parent 5bb3de2675
commit c8bcc4c1c3
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -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
};