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: missing fqdn for services

Andras Bacsai5ff4197572e6
diff --git a/src/lib/haproxy/index.ts b/src/lib/haproxy/index.ts
index 0d1d14fd20..fffba0ba78 100644
--- a/src/lib/haproxy/index.ts
+++ b/src/lib/haproxy/index.ts
@@ -620,6 +620,9 @@ export async function configureSimpleServiceProxyOn({ id, domain, port }) {
}
export async function configureSimpleServiceProxyOff(fqdn) {
+ if (!fqdn) {
+ return;
+ }
const domain = getDomain(fqdn);
const haproxy = await haproxyInstance();
await checkHAProxy(haproxy);