fix: remove console log

This commit is contained in:
Andras Bacsai 2022-06-09 14:00:08 +02:00
parent edeb6c6965
commit 0e3bd85847

View File

@ -128,7 +128,6 @@ function configureMiddleware(
if (type === 'plausibleanalytics' && scriptName !== 'plausible.js') {
if (!traefik.http.routers[`${id}`].middlewares.includes(`${id}-redir`)) {
console.log(traefik.http.routers[`${id}`].middlewares);
traefik.http.routers[`${id}`].middlewares.push(`${id}-redir`);
}
if (!traefik.http.routers[`${id}-secure`].middlewares.includes(`${id}-redir`)) {