Merge pull request #581 from SISheogorath/fix/HMD_URL_ADDPORT

Fix missing boolean setting for HMD_URL_ADDPORT
This commit is contained in:
Sheogorath 2017-10-12 00:01:27 +02:00 committed by GitHub
commit 53c2d0b5ca
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ module.exports = {
domain: process.env.HMD_DOMAIN, domain: process.env.HMD_DOMAIN,
urlpath: process.env.HMD_URL_PATH, urlpath: process.env.HMD_URL_PATH,
port: process.env.HMD_PORT, port: process.env.HMD_PORT,
urladdport: process.env.HMD_URL_ADDPORT, urladdport: toBooleanConfig(process.env.HMD_URL_ADDPORT),
usessl: toBooleanConfig(process.env.HMD_USESSL), usessl: toBooleanConfig(process.env.HMD_USESSL),
protocolusessl: toBooleanConfig(process.env.HMD_PROTOCOL_USESSL), protocolusessl: toBooleanConfig(process.env.HMD_PROTOCOL_USESSL),
alloworigin: process.env.HMD_ALLOW_ORIGIN ? process.env.HMD_ALLOW_ORIGIN.split(',') : undefined, alloworigin: process.env.HMD_ALLOW_ORIGIN ? process.env.HMD_ALLOW_ORIGIN.split(',') : undefined,