mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-06-23 22:31:26 +02:00
cfg(torrents): add settings item for mailTicketService enable
This commit is contained in:
1
config/env/torrents.js
vendored
1
config/env/torrents.js
vendored
@@ -26,6 +26,7 @@ module.exports = {
|
||||
app: {
|
||||
name: commonEnvConfig.variable.site.site_name,
|
||||
domain: commonEnvConfig.variable.site.site_domain,
|
||||
mailTicketService: true,
|
||||
showDemoWarningPopup: true,
|
||||
cronTimeZone: 'Asia/Shanghai',
|
||||
showDebugLog: commonEnvConfig.variable.settings.console_debug_info || true
|
||||
|
||||
@@ -67,7 +67,10 @@ module.exports = function (app) {
|
||||
|
||||
cronJobs.push(removeGhostPeers());
|
||||
cronJobs.push(countUsersHnrWarning());
|
||||
cronJobs.push(listenServiceEmail());
|
||||
|
||||
if (appConfig.mailTicketService) {
|
||||
cronJobs.push(listenServiceEmail());
|
||||
}
|
||||
|
||||
return cronJobs;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user