sysinfo: add interface to get IPv6 address
This commit is contained in:
@@ -242,7 +242,7 @@ async function waitForDnsPropagation(app) {
|
||||
return;
|
||||
}
|
||||
|
||||
const ip = await sysinfo.getServerIp();
|
||||
const ip = await sysinfo.getServerIPv4();
|
||||
const [error] = await safe(dns.waitForDnsRecord(app.location, app.domain, 'A', ip, { times: 240 }));
|
||||
if (error) throw new BoxError(BoxError.DNS_ERROR, `DNS Record is not synced yet: ${error.message}`, { ip: ip, subdomain: app.location, domain: app.domain });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user