From b21e6ea03825631783683fbd6dc5ca25850eecef Mon Sep 17 00:00:00 2001 From: Mark Henderson Date: Thu, 30 Apr 2026 18:52:34 -0700 Subject: [PATCH] fix: remove invalid YAML escape in Traefik Host() label MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit \` is not a valid escape sequence in YAML double-quoted strings, causing Coolify to fail parsing the dev-container compose on provision. Backticks are literal characters in YAML double-quoted strings and need no escaping — only the JS template literal escape (\`) is required. Made-with: Cursor --- lib/dev-container.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dev-container.ts b/lib/dev-container.ts index 2d3e26ed..0b939bef 100644 --- a/lib/dev-container.ts +++ b/lib/dev-container.ts @@ -159,7 +159,7 @@ function renderDevCompose(projectSlug: string, projectId: string): string { const port = PREVIEW_BASE_PORT + i; const router = `vibn-dev-${projectSlug}-${i}`; const host = `preview-${i}-${projectSlug}-${token}.${PREVIEW_DOMAIN_BASE_RAW}`; - traefikLabels.push(`"traefik.http.routers.${router}.rule=Host(\\\`${host}\\\`)"`); + traefikLabels.push(`"traefik.http.routers.${router}.rule=Host(\`${host}\`)"`); traefikLabels.push(`"traefik.http.routers.${router}.entrypoints=https"`); traefikLabels.push(`"traefik.http.routers.${router}.tls=true"`); traefikLabels.push(`"traefik.http.routers.${router}.tls.certresolver=letsencrypt"`);