diff options
author | vazontang | 2018-03-15 04:07:45 +0800 |
---|---|---|
committer | GitHub | 2018-03-15 04:07:45 +0800 |
commit | 070dd27f959a704138055a65ac6a340d63b162e0 (patch) | |
tree | bd4a1b02fc49495d5f6ffa1886781b51d9c29b5e /lib/config | |
parent | 2698aa4b5f30f367d6465fc7fc95dff1010a456a (diff) |
Convert HMD_MINIO_PORT into Number type.
fix hackmdio/hackmd#763
Signed-off-by: Tang TsungYi <vazontang@gmail.com>
Diffstat (limited to 'lib/config')
-rw-r--r-- | lib/config/environment.js | 2 |
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: { |