constants: location -> subdomain

This commit is contained in:
Girish Ramakrishnan
2022-07-14 15:18:17 +05:30
parent 14fc089f05
commit 116cde19f9
8 changed files with 20 additions and 20 deletions

View File

@@ -434,7 +434,7 @@ async function writeDashboardConfig(domainObject) {
debug(`writeDashboardConfig: writing admin config for ${domainObject.domain}`);
const dashboardFqdn = dns.fqdn(constants.DASHBOARD_LOCATION, domainObject);
const dashboardFqdn = dns.fqdn(constants.DASHBOARD_SUBDOMAIN, domainObject);
const certificatePath = await getCertificatePath(dashboardFqdn, domainObject.domain);
await writeDashboardNginxConfig(dashboardFqdn, certificatePath);