summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index 0d78a153..c6ee8ace 100644
--- a/app.js
+++ b/app.js
@@ -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
};