remove debug
This commit is contained in:
parent
c2d4390a72
commit
0ecf86d8a3
@ -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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user