We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5bb3de2 + c8bcc4c commit be3aa3bCopy full SHA for be3aa3b
1 file changed
app.js
@@ -499,7 +499,7 @@ app.post('/uploadimage', function (req, res) {
499
500
fs.readFile(files.image.path, function (err, buffer) {
501
var params = {
502
- Bucket: 'hackmd',
+ Bucket: config.s3bucket,
503
Key: path.join('uploads', path.basename(files.image.path)),
504
Body: buffer
505
};
0 commit comments