summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorS.Noda2016-12-18 18:58:21 +0900
committerS.Noda2016-12-18 18:58:21 +0900
commitc8bcc4c1c3628657efeb101115b5d300b7429bef (patch)
treeba1b2eacf4bd172188100c3001279f17377070a4 /app.js
parent5bb3de2675967eb2f6ea295e7c3e969769ed2a70 (diff)
fix #284
Diffstat (limited to 'app.js')
-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
};