Convert HMD_MINIO_PORT into Number type.

fix hackmdio/hackmd#763

Signed-off-by: Tang TsungYi <vazontang@gmail.com>
This commit is contained in:
vazontang 2018-03-15 04:07:45 +08:00 committed by GitHub
parent 2698aa4b5f
commit 070dd27f95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: {