[WIP] Handle multiple domains in records in status API #26
@ -159,7 +159,9 @@ export class RegHelper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
status.app = r.attributes.application;
|
status.app = r.attributes.application;
|
||||||
const hostname = r.attributes.dns ?? generateHostnameForApp(app);
|
|
||||||
|
const dnsList: string[] = r.attributes.dns ? r.attributes.dns.split(",") : [];
|
||||||
|
const hostname = dnsList.length ? dnsList[dnsList.length - 1] : generateHostnameForApp(app);
|
||||||
|
|
||||||
if (deploymentsByRequest.has(r.id)) {
|
if (deploymentsByRequest.has(r.id)) {
|
||||||
const deployment = deploymentsByRequest.get(r.id);
|
const deployment = deploymentsByRequest.get(r.id);
|
||||||
|
Loading…
Reference in New Issue
Block a user