From 1192346ce3aa4e98c862fdff06eef9cedccc5762 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 9 Jun 2022 14:00:41 +0200 Subject: [PATCH] fix: remove comments --- src/routes/webhooks/traefik/main.json.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/routes/webhooks/traefik/main.json.ts b/src/routes/webhooks/traefik/main.json.ts index 100f1bbf5..83b6badeb 100644 --- a/src/routes/webhooks/traefik/main.json.ts +++ b/src/routes/webhooks/traefik/main.json.ts @@ -344,11 +344,6 @@ export const get: RequestHandler = async (event) => { replacement: '/js/plausible.js' } }; - // if (traefik.http.routers[id].middlewares.length > 0) { - // traefik.http.routers[id].middlewares.push(`${id}-redir`); - // } else { - // traefik.http.routers[id].middlewares = [`${id}-redir`]; - // } } } for (const coolify of data.coolify) {