rename function to setupDnsAndCert

this way, we can reuse this logic for the mail domain as well
This commit is contained in:
Girish Ramakrishnan
2020-08-15 23:17:29 -07:00
parent f52037f305
commit c4101a62ed
5 changed files with 40 additions and 39 deletions

View File

@@ -5,8 +5,8 @@
var apptask = require('./apptask.js'),
async = require('async'),
backups = require('./backups.js'),
cloudron = require('./cloudron.js'),
database = require('./database.js'),
domains = require('./domains.js'),
externalLdap = require('./externalldap.js'),
fs = require('fs'),
reverseProxy = require('./reverseproxy.js'),
@@ -20,7 +20,7 @@ const TASKS = { // indexed by task type
backup: backups.backupBoxAndApps,
update: updater.update,
renewcerts: reverseProxy.renewCerts,
setupDashboardDnsAndCert: domains.setupDashboardDnsAndCert,
setupDnsAndCert: cloudron.setupDnsAndCert,
cleanBackups: backups.cleanup,
syncExternalLdap: externalLdap.sync,