Skip to content

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.

fix: webhook

Andras Bacsai9bc0aa131e69
diff --git a/apps/api/src/routes/webhooks/traefik/handlers.ts b/apps/api/src/routes/webhooks/traefik/handlers.ts
index b88350a7e1..4307911fef 100644
--- a/apps/api/src/routes/webhooks/traefik/handlers.ts
+++ b/apps/api/src/routes/webhooks/traefik/handlers.ts
@@ -668,23 +668,7 @@ export async function remoteTraefikConfiguration(request: FastifyRequest) {
}
}
- const { fqdn, dualCerts } = await prisma.setting.findFirst();
- if (fqdn) {
- const domain = getDomain(fqdn);
- const nakedDomain = domain.replace(/^www\./, '');
- const isHttps = fqdn.startsWith('https://');
- const isWWW = fqdn.includes('www.');
- data.coolify.push({
- id: isDev ? 'host.docker.internal' : 'coolify',
- container: isDev ? 'host.docker.internal' : 'coolify',
- port: 3000,
- domain,
- nakedDomain,
- isHttps,
- isWWW,
- isDualCerts: dualCerts
- });
- }
+
for (const application of data.applications) {
configureMiddleware(application, traefik);
}