Merge pull request #331 from databasus/develop

FIX (script): Fix script creation in playground head
This commit is contained in:
Rostislav Dugin
2026-02-02 19:47:44 +03:00
committed by GitHub

View File

@@ -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