From 89c60d13313d68a9e41c16ac579f09c52b8e9bc6 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Wed, 11 Oct 2017 23:07:27 +0200 Subject: Fix missing boolean setting for HMD_URL_ADDPORT Signed-off-by: Sheogorath --- lib/config/environment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3