mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-05-07 07:27:07 +02:00
cfg(torrents): add desc of mailTicketService and comm-variable
This commit is contained in:
1
config/env/comm-variable.js
vendored
1
config/env/comm-variable.js
vendored
@@ -25,6 +25,7 @@ module.exports = {
|
||||
* settings of system
|
||||
*/
|
||||
settings: {
|
||||
mailTicketService: false,
|
||||
console_debug_info: true
|
||||
},
|
||||
|
||||
|
||||
3
config/env/torrents.js
vendored
3
config/env/torrents.js
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user