remove console.logs

This commit is contained in:
Andras Bacsai 2022-07-26 13:19:14 +00:00
parent 4356207611
commit 4b37e84466
2 changed files with 0 additions and 4 deletions

View File

@ -325,8 +325,6 @@ export async function isDomainConfigured({
checkOwn?: boolean;
dockerId?: string;
}): Promise<boolean> {
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<any> {
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 = [];

View File

@ -77,7 +77,6 @@ export async function newDestination(request: FastifyRequest<NewDestination>, 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) {