Skip to content

Commit c8bcc4c

Browse files
author
S.Noda
committed
fix #284
1 parent 5bb3de2 commit c8bcc4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ app.post('/uploadimage', function (req, res) {
499499

500500
fs.readFile(files.image.path, function (err, buffer) {
501501
var params = {
502-
Bucket: 'hackmd',
502+
Bucket: config.s3bucket,
503503
Key: path.join('uploads', path.basename(files.image.path)),
504504
Body: buffer
505505
};

0 commit comments

Comments
 (0)