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) {