Use constants.ADMIN_LOCATION instead

part of #621
This commit is contained in:
Girish Ramakrishnan
2019-03-09 19:51:30 -08:00
parent 46f46483f8
commit 2051b3921b
8 changed files with 9 additions and 35 deletions

View File

@@ -351,7 +351,6 @@ function setDashboardDomain(domain, auditSource, callback) {
const fqdn = domains.fqdn(constants.ADMIN_LOCATION, domainObject);
config.setAdminDomain(domain);
config.setAdminLocation(constants.ADMIN_LOCATION);
config.setAdminFqdn(fqdn);
clients.addDefaultClients(config.adminOrigin(), function (error) {