custom: remove support section

This commit is contained in:
Girish Ramakrishnan
2020-02-04 13:07:26 -08:00
parent c41042635f
commit c9e96cd97a
5 changed files with 8 additions and 21 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ exports = module.exports = {
var assert = require('assert'),
BoxError = require('./boxerror.js'),
custom = require('./custom.js'),
constants = require('./constants.js'),
debug = require('debug')('box:mailer'),
ejs = require('ejs'),
mail = require('./mail.js'),
@@ -279,7 +279,7 @@ function appDied(mailTo, app) {
from: mailConfig.notificationFrom,
to: mailTo,
subject: util.format('[%s] App %s is down', mailConfig.cloudronName, app.fqdn),
text: render('app_down.ejs', { title: app.manifest.title, appFqdn: app.fqdn, supportEmail: custom.spec().support.email, format: 'text' })
text: render('app_down.ejs', { title: app.manifest.title, appFqdn: app.fqdn, supportEmail: constants.SUPPORT_EMAIL, format: 'text' })
};
sendMail(mailOptions);