From 7e8cd897484792181c914159e69a13a8ac33c7c7 Mon Sep 17 00:00:00 2001 From: OldHawk Date: Thu, 22 Mar 2018 17:24:58 +0800 Subject: [PATCH] cfg(torrents): add desc of mailTicketService and comm-variable --- config/env/comm-variable.js | 1 + config/env/torrents.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/env/comm-variable.js b/config/env/comm-variable.js index b6d3e772..3a214db2 100644 --- a/config/env/comm-variable.js +++ b/config/env/comm-variable.js @@ -25,6 +25,7 @@ module.exports = { * settings of system */ settings: { + mailTicketService: false, console_debug_info: true }, diff --git a/config/env/torrents.js b/config/env/torrents.js index 09462412..fbd9504b 100644 --- a/config/env/torrents.js +++ b/config/env/torrents.js @@ -18,6 +18,7 @@ module.exports = { * NOTE: you can change these value at anytime if you understand it * * @domain: site domain + * @mailTicketService: settings mailTicketService status, true is enable, false is disable * @showDemoWarningPopup: if is demo site, show warning popup whene home is opened for the first time. * @cronTimeZone: timezone of cron * @showDebugLog: if true, will console.log all debug info at server side and client side. when your site is prod env, please change this @@ -26,7 +27,7 @@ module.exports = { app: { name: commonEnvConfig.variable.site.site_name, domain: commonEnvConfig.variable.site.site_domain, - mailTicketService: true, + mailTicketService: commonEnvConfig.variable.settings.mailTicketService || false, showDemoWarningPopup: true, cronTimeZone: 'Asia/Shanghai', showDebugLog: commonEnvConfig.variable.settings.console_debug_info || true