diff options
author | Sheogorath | 2017-10-11 23:07:27 +0200 |
---|---|---|
committer | Sheogorath | 2017-10-11 23:13:22 +0200 |
commit | 89c60d13313d68a9e41c16ac579f09c52b8e9bc6 (patch) | |
tree | 30b308597bb55378607ec1fcb073bb1475090ca1 /lib | |
parent | a99cac0cf05acaddd38f21851e85ae542ebc0070 (diff) |
Fix missing boolean setting for HMD_URL_ADDPORT
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to '')
-rw-r--r-- | lib/config/environment.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config/environment.js b/lib/config/environment.js index 75381ffc..c108a6f9 100644 --- a/lib/config/environment.js +++ b/lib/config/environment.js @@ -6,7 +6,7 @@ module.exports = { domain: process.env.HMD_DOMAIN, urlpath: process.env.HMD_URL_PATH, port: process.env.HMD_PORT, - urladdport: process.env.HMD_URL_ADDPORT, + urladdport: toBooleanConfig(process.env.HMD_URL_ADDPORT), usessl: toBooleanConfig(process.env.HMD_USESSL), protocolusessl: toBooleanConfig(process.env.HMD_PROTOCOL_USESSL), alloworigin: process.env.HMD_ALLOW_ORIGIN ? process.env.HMD_ALLOW_ORIGIN.split(',') : undefined, |