From c8bcc4c1c3628657efeb101115b5d300b7429bef Mon Sep 17 00:00:00 2001 From: S.Noda Date: Sun, 18 Dec 2016 18:58:21 +0900 Subject: fix #284 --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }; -- cgit v1.2.3