From 71ce9a6b377ee9a83bdbb19dd1ec3869e4c233e2 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 3 Nov 2022 13:28:58 +0100 Subject: [PATCH] fix: pathprefix --- apps/api/src/routes/webhooks/traefik/handlers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/routes/webhooks/traefik/handlers.ts b/apps/api/src/routes/webhooks/traefik/handlers.ts index 92977dd59..074d75964 100644 --- a/apps/api/src/routes/webhooks/traefik/handlers.ts +++ b/apps/api/src/routes/webhooks/traefik/handlers.ts @@ -289,7 +289,7 @@ async function serviceConfiguration(traefik: any, remoteId: string | null = null let port, pathPrefix, customDomain; if (configuration) { port = configuration?.port; - pathPrefix = configuration?.pathPrefix; + pathPrefix = configuration?.pathPrefix || null; customDomain = configuration?.domain; } if (customDomain) {