summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorvazontang2018-03-15 04:07:45 +0800
committerGitHub2018-03-15 04:07:45 +0800
commit070dd27f959a704138055a65ac6a340d63b162e0 (patch)
treebd4a1b02fc49495d5f6ffa1886781b51d9c29b5e /lib
parent2698aa4b5f30f367d6465fc7fc95dff1010a456a (diff)
Convert HMD_MINIO_PORT into Number type.
fix hackmdio/hackmd#763 Signed-off-by: Tang TsungYi <vazontang@gmail.com>
Diffstat (limited to '')
-rw-r--r--lib/config/environment.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config/environment.js b/lib/config/environment.js
index b83c67e5..403c7d75 100644
--- a/lib/config/environment.js
+++ b/lib/config/environment.js
@@ -39,7 +39,7 @@ module.exports = {
secretKey: process.env.HMD_MINIO_SECRET_KEY,
endPoint: process.env.HMD_MINIO_ENDPOINT,
secure: toBooleanConfig(process.env.HMD_MINIO_SECURE),
- port: process.env.HMD_MINIO_PORT
+ port: parseInt(process.env.HMD_MINIO_PORT)
},
s3bucket: process.env.HMD_S3_BUCKET,
facebook: {