Skip to content

Commit be3aa3b

Browse files
authored
Merge pull request #285 from horo17/topic/#284-s3-bucket-name
S3 bucket name
2 parents 5bb3de2 + c8bcc4c commit be3aa3b

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)