diff options
author | S.Noda | 2016-12-18 18:58:21 +0900 |
---|---|---|
committer | S.Noda | 2016-12-18 18:58:21 +0900 |
commit | c8bcc4c1c3628657efeb101115b5d300b7429bef (patch) | |
tree | ba1b2eacf4bd172188100c3001279f17377070a4 | |
parent | 5bb3de2675967eb2f6ea295e7c3e969769ed2a70 (diff) |
fix #284
Diffstat (limited to '')
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 }; |