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.

remove debug

Andras Bacsai0ecf86d8a35a
diff --git a/apps/api/src/routes/webhooks/traefik/handlers.ts b/apps/api/src/routes/webhooks/traefik/handlers.ts
index 8b6e9a7752..1889d897b8 100644
--- a/apps/api/src/routes/webhooks/traefik/handlers.ts
+++ b/apps/api/src/routes/webhooks/traefik/handlers.ts
@@ -5,7 +5,6 @@ import { OnlyId } from "../../../types";
import { getTemplates } from "../../../lib/services";
async function applicationConfiguration(traefik: any, remoteId: string | null = null) {
- console.log({ type: 'applications', remoteId })
let applications = []
if (remoteId) {
applications = await prisma.application.findMany({
@@ -21,7 +20,6 @@ async function applicationConfiguration(traefik: any, remoteId: string | null =
const configurableApplications = []
if (applications.length > 0) {
for (const application of applications) {
- console.log(application)
const {
fqdn,
id,
@@ -114,7 +112,6 @@ async function applicationConfiguration(traefik: any, remoteId: string | null =
}
}
for (const application of configurableApplications) {
- console.log(application.id)
let { id, port, isCustomSSL, pathPrefix, isHttps, nakedDomain, isWWW, domain, dualCerts } = application
if (isHttps) {
traefik.http.routers[`${id}-${port || 'default'}`] = generateHttpRouter(`${id}-${port || 'default'}`, nakedDomain, pathPrefix)
@@ -196,7 +193,6 @@ async function applicationConfiguration(traefik: any, remoteId: string | null =
}
}
async function serviceConfiguration(traefik: any, remoteId: string | null = null) {
- console.log({ type: 'services', remoteId })
let services = [];
if (remoteId) {
services = await prisma.service.findMany({