mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
Merge pull request #581 from SISheogorath/fix/HMD_URL_ADDPORT
Fix missing boolean setting for HMD_URL_ADDPORT
This commit is contained in:
commit
53c2d0b5ca
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue