mirror of https://github.com/status-im/codimd.git
Convert HMD_MINIO_PORT into Number type.
fix hackmdio/hackmd#763 Signed-off-by: Tang TsungYi <vazontang@gmail.com>
This commit is contained in:
parent
2698aa4b5f
commit
070dd27f95
|
@ -39,7 +39,7 @@ module.exports = {
|
||||||
secretKey: process.env.HMD_MINIO_SECRET_KEY,
|
secretKey: process.env.HMD_MINIO_SECRET_KEY,
|
||||||
endPoint: process.env.HMD_MINIO_ENDPOINT,
|
endPoint: process.env.HMD_MINIO_ENDPOINT,
|
||||||
secure: toBooleanConfig(process.env.HMD_MINIO_SECURE),
|
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,
|
s3bucket: process.env.HMD_S3_BUCKET,
|
||||||
facebook: {
|
facebook: {
|
||||||
|
|
Loading…
Reference in New Issue