From c26a9f10ca3fbd4e1f84f6928b73cc2c98304e8f Mon Sep 17 00:00:00 2001 From: Yukai Huang Date: Fri, 7 Feb 2020 10:55:16 +0800 Subject: [PATCH] Fix missing environment config for version check Signed-off-by: Yukai Huang --- lib/config/environment.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/config/environment.js b/lib/config/environment.js index 3a62985c..8426d82f 100644 --- a/lib/config/environment.js +++ b/lib/config/environment.js @@ -142,5 +142,6 @@ module.exports = { allowPDFExport: toBooleanConfig(process.env.CMD_ALLOW_PDF_EXPORT), openID: toBooleanConfig(process.env.CMD_OPENID), defaultUseHardbreak: toBooleanConfig(process.env.CMD_DEFAULT_USE_HARD_BREAK), - linkifyHeaderStyle: process.env.CMD_LINKIFY_HEADER_STYLE + linkifyHeaderStyle: process.env.CMD_LINKIFY_HEADER_STYLE, + autoVersionCheck: toBooleanConfig(process.env.CMD_AUTO_VERSION_CHECK) }