Further rename of admin -> dashboard

This commit is contained in:
Girish Ramakrishnan
2021-05-05 13:14:48 -07:00
parent 9418e93428
commit 39e7d9cc7a
3 changed files with 8 additions and 8 deletions

View File

@@ -204,13 +204,13 @@ function restore(backupConfig, backupId, version, sysinfoConfig, options, auditS
settings.setSysinfoConfig.bind(null, sysinfoConfig),
reverseProxy.restoreFallbackCertificates,
(done) => {
const adminDomain = settings.dashboardDomain(); // load this fresh from after the backup.restore
const dashboardDomain = settings.dashboardDomain(); // load this fresh from after the backup.restore
async.series([
(next) => {
if (options.skipDnsSetup) return next();
cloudron.setupDnsAndCert(constants.DASHBOARD_LOCATION, adminDomain, auditSource, (progress) => setProgress('restore', progress.message, NOOP_CALLBACK), next);
cloudron.setupDnsAndCert(constants.DASHBOARD_LOCATION, dashboardDomain, auditSource, (progress) => setProgress('restore', progress.message, NOOP_CALLBACK), next);
},
cloudron.setDashboardDomain.bind(null, adminDomain, auditSource)
cloudron.setDashboardDomain.bind(null, dashboardDomain, auditSource)
], done);
},
settings.setBackupCredentials.bind(null, backupConfig), // update just the credentials and not the policy and flags