An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: isDomainConfigured
Andras Bacsaib29c1e702a23
diff --git a/src/lib/database/checks.ts b/src/lib/database/checks.tsindex 38ddc96b9d..7cc0666056 100644--- a/src/lib/database/checks.ts+++ b/src/lib/database/checks.ts@@ -22,15 +22,15 @@ export async function isSecretExists({ id, name }) {export async function isDomainConfigured({ id, fqdn }) {const domain = getDomain(fqdn);const foundApp = await prisma.application.findFirst({- where: { fqdn: { endsWith: domain }, id: { not: id } },+ where: { fqdn: { endsWith: `//${domain}` }, id: { not: id } },select: { fqdn: true }});const foundService = await prisma.service.findFirst({- where: { fqdn: { endsWith: domain }, id: { not: id } },+ where: { fqdn: { endsWith: `//${domain}` }, id: { not: id } },select: { fqdn: true }});const coolifyFqdn = await prisma.setting.findFirst({- where: { fqdn: { endsWith: domain }, id: { not: id } },+ where: { fqdn: { endsWith: `//${domain}` }, id: { not: id } },select: { fqdn: true }});if (foundApp || foundService || coolifyFqdn) return true;diff --git a/src/lib/queues/proxy.ts b/src/lib/queues/proxy.tsindex 9ab34af347..7a894d4464 100644--- a/src/lib/queues/proxy.ts+++ b/src/lib/queues/proxy.ts@@ -63,7 +63,5 @@ export default async function () {} catch (error) {console.log(error);throw error;- } finally {- // await reloadHaproxy('/var/run/docker.sock');}}