summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSheogorath2017-10-11 23:07:27 +0200
committerSheogorath2017-10-11 23:13:22 +0200
commit89c60d13313d68a9e41c16ac579f09c52b8e9bc6 (patch)
tree30b308597bb55378607ec1fcb073bb1475090ca1 /lib
parenta99cac0cf05acaddd38f21851e85ae542ebc0070 (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.js2
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,