Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: pathprefix

Andras Bacsai71ce9a6b377e
diff --git a/apps/api/src/routes/webhooks/traefik/handlers.ts b/apps/api/src/routes/webhooks/traefik/handlers.ts
index 92977dd590..074d759640 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) {