diff --git a/src/status/myDomainResolver.ts b/src/status/myDomainResolver.ts index 1d927c115..d127d8bf6 100644 --- a/src/status/myDomainResolver.ts +++ b/src/status/myDomainResolver.ts @@ -83,24 +83,24 @@ export class MyDomainResolver extends AsyncOptionalCreatable { - const { host } = self.options.url; + const { hostname } = self.options.url; let dnsResult: { address: string }; try { - self.logger.debug(`Attempting to resolve url: ${host}`); + self.logger.debug(`Attempting to resolve url: ${hostname}`); if (new SfdcUrl(self.options.url).isLocalUrl()) { return { completed: true, payload: '127.0.0.1', }; } - dnsResult = await promisify(lookup)(host); - self.logger.debug(`Successfully resolved host: ${host} result: ${JSON.stringify(dnsResult)}`); + dnsResult = await promisify(lookup)(hostname); + self.logger.debug(`Successfully resolved host: ${hostname} result: ${JSON.stringify(dnsResult)}`); return { completed: true, payload: dnsResult.address, }; } catch (e) { - self.logger.debug(`An error occurred trying to resolve: ${host}`); + self.logger.debug(`An error occurred trying to resolve: ${hostname}`); self.logger.debug(`Error: ${(e as Error).message}`); self.logger.debug('Re-trying dns lookup again....'); return { diff --git a/src/util/sfdcUrl.ts b/src/util/sfdcUrl.ts index 53dd811cb..326275097 100644 --- a/src/util/sfdcUrl.ts +++ b/src/util/sfdcUrl.ts @@ -135,7 +135,7 @@ export class SfdcUrl extends URL { '.stm.salesforce.ms', '.pc-rnd.force.com', '.pc-rnd.salesforce.com', - '.wc.crm.dev', // workspaces container + '.crm.dev', // workspaces container ]; return ( this.origin.startsWith('https://gs1.') ||