This commit is contained in:
Andras Bacsai
2022-10-27 20:05:02 +00:00
parent 55cb788380
commit dc2d15fd9c
3 changed files with 21 additions and 21 deletions

View File

@@ -281,9 +281,7 @@ export async function isDomainConfigured({
where: {
OR: [
{ fqdn: { endsWith: `//${nakedDomain}` } },
{ fqdn: { endsWith: `//www.${nakedDomain}` } },
{ minio: { apiFqdn: { endsWith: `//${nakedDomain}` } } },
{ minio: { apiFqdn: { endsWith: `//www.${nakedDomain}` } } }
{ fqdn: { endsWith: `//www.${nakedDomain}` } }
],
id: { not: checkOwn ? undefined : id },
destinationDocker: {
@@ -303,6 +301,7 @@ export async function isDomainConfigured({
},
select: { fqdn: true }
});
console.log({foundApp, foundService})
return !!(foundApp || foundService || coolifyFqdn);
}