Further rename of admin -> dashboard
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user