Skip to content

Commit 976657d

Browse files
authored
Merge pull request #765 from vazontang/master
Convert HMD_MINIO_PORT into Number type.
2 parents 2698aa4 + 070dd27 commit 976657d

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)