Skip to content

Commit 070dd27

Browse files
authored
Convert HMD_MINIO_PORT into Number type.
fix #763 Signed-off-by: Tang TsungYi <vazontang@gmail.com>
1 parent 2698aa4 commit 070dd27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/config/environment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = {
3939
secretKey: process.env.HMD_MINIO_SECRET_KEY,
4040
endPoint: process.env.HMD_MINIO_ENDPOINT,
4141
secure: toBooleanConfig(process.env.HMD_MINIO_SECURE),
42-
port: process.env.HMD_MINIO_PORT
42+
port: parseInt(process.env.HMD_MINIO_PORT)
4343
},
4444
s3bucket: process.env.HMD_S3_BUCKET,
4545
facebook: {

0 commit comments

Comments
 (0)