Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

FIX (script): Fix script creation in playground head

Rostislav Dugina9dc29f82cd4
diff --git a/Dockerfile b/Dockerfile
index 4e0ab701..a7dd132c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -275,7 +275,7 @@ JSEOF
# Inject analytics script if provided
if [ -n "\${ANALYTICS_SCRIPT:-}" ]; then
echo "Injecting analytics script..."
- sed -i "s#</head># \${ANALYTICS_SCRIPT}\n </head>#" /app/ui/build/index.html
+ sed -i "s#</head># \${ANALYTICS_SCRIPT}"$'\n'" </head>#" /app/ui/build/index.html
fi
# Ensure proper ownership of data directory