From 4b37e8446691b7276185652b343287eb45e02dc6 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 26 Jul 2022 13:19:14 +0000 Subject: [PATCH] remove console.logs --- apps/api/src/lib/common.ts | 3 --- apps/api/src/routes/api/v1/destinations/handlers.ts | 1 - 2 files changed, 4 deletions(-) diff --git a/apps/api/src/lib/common.ts b/apps/api/src/lib/common.ts index 10a0fa162..79b22bce0 100644 --- a/apps/api/src/lib/common.ts +++ b/apps/api/src/lib/common.ts @@ -325,8 +325,6 @@ export async function isDomainConfigured({ checkOwn?: boolean; dockerId?: string; }): Promise { - - console.log({ checkOwn, dockerId }) const domain = getDomain(fqdn); const nakedDomain = domain.replace('www.', ''); const foundApp = await prisma.application.findFirst({ @@ -387,7 +385,6 @@ export async function getContainerUsage(dockerId: string, container: string): Pr export async function checkDomainsIsValidInDNS({ hostname, fqdn, dualCerts }): Promise { const { isIP } = await import('is-ip'); const domain = getDomain(fqdn); - console.log({ hostname, fqdn, dualCerts }) const domainDualCert = domain.includes('www.') ? domain.replace('www.', '') : `www.${domain}`; dns.setServers(['1.1.1.1', '8.8.8.8']); let resolves = []; diff --git a/apps/api/src/routes/api/v1/destinations/handlers.ts b/apps/api/src/routes/api/v1/destinations/handlers.ts index c46a2fdbd..81fcaf28e 100644 --- a/apps/api/src/routes/api/v1/destinations/handlers.ts +++ b/apps/api/src/routes/api/v1/destinations/handlers.ts @@ -77,7 +77,6 @@ export async function newDestination(request: FastifyRequest, re const { id } = request.params let { name, network, engine, isCoolifyProxyUsed, remoteIpAddress, remoteUser, remotePort } = request.body - console.log({ name, network, engine, isCoolifyProxyUsed, remoteIpAddress, remoteUser, remotePort }) if (id === 'new') { console.log(engine) if (engine) {