fix: Otherfqdns

This commit is contained in:
Andras Bacsai
2022-05-31 11:35:04 +02:00
parent c63430e342
commit f71b54deb2
2 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@
try {
await post(`/services/${id}/check.json`, {
fqdn: service.fqdn,
otherFqdns: [service.minio.apiFqdn],
otherFqdns: service.minio?.apiFqdn ? [service.minio?.apiFqdn] : [],
exposePort: service.exposePort
});
await post(`/services/${id}/${service.type}.json`, { ...service });