diff options
author | Sheogorath | 2017-10-12 00:01:27 +0200 |
---|---|---|
committer | GitHub | 2017-10-12 00:01:27 +0200 |
commit | 53c2d0b5ca5901c1d1cad819e2049b16fba18ea8 (patch) | |
tree | 7e7563ea219729ddb3f9a346a98eb589ce011c9a /lib/config | |
parent | 8b65d7df1a765a7a64024e1b6d2760a9d7409fe5 (diff) | |
parent | 89c60d13313d68a9e41c16ac579f09c52b8e9bc6 (diff) |
Merge pull request #581 from SISheogorath/fix/HMD_URL_ADDPORT
Fix missing boolean setting for HMD_URL_ADDPORT
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, |