summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorhoijui2019-10-29 10:53:20 +0100
committerhoijui2019-10-30 17:46:38 +0100
commite1ff73877b5ae772489e60e3509260d0a25b01a4 (patch)
tree6184bd25fc92fa3e8fb5e931db4b0fac991a3059 /lib
parent6b913a572130b1b4246bfa501f1fecf41d8aeee5 (diff)
allow to define header link generation style via environment var
Signed-off-by: hoijui <hoijui.quaero@gmail.com>
Diffstat (limited to '')
-rw-r--r--lib/config/environment.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/config/environment.js b/lib/config/environment.js
index 716f8b75..944a2fb2 100644
--- a/lib/config/environment.js
+++ b/lib/config/environment.js
@@ -134,5 +134,6 @@ module.exports = {
allowEmailRegister: toBooleanConfig(process.env.CMD_ALLOW_EMAIL_REGISTER),
allowGravatar: toBooleanConfig(process.env.CMD_ALLOW_GRAVATAR),
allowPDFExport: toBooleanConfig(process.env.CMD_ALLOW_PDF_EXPORT),
- openID: toBooleanConfig(process.env.CMD_OPENID)
+ openID: toBooleanConfig(process.env.CMD_OPENID),
+ linkifyHeaderStyle: process.env.CMD_LINKIFY_HEADER_STYLE
}