FIX (dockerfile): Fix index.html

This commit is contained in:
Rostislav Dugin
2026-03-27 22:33:20 +03:00
parent c4cf7f8446
commit 67556a0db1
2 changed files with 9 additions and 6 deletions

View File

@@ -335,7 +335,8 @@ fi
if [ -n "\${CLOUD_PADDLE_CLIENT_TOKEN:-}" ]; then
if ! grep -q "cdn.paddle.com" /app/ui/build/index.html 2>/dev/null; then
echo "Injecting Paddle script..."
sed -i "s#</head># <script src=\"https://cdn.paddle.com/paddle/v2/paddle.js\"></script>\n </head>#" /app/ui/build/index.html
sed -i "s#</head># <script src=\"https://cdn.paddle.com/paddle/v2/paddle.js\"></script>\\
</head>#" /app/ui/build/index.html
fi
fi

View File

@@ -373,11 +373,13 @@ export const MainScreenComponent = () => {
</>
)}
<div className="absolute bottom-1 left-2 mb-[0px] hidden text-sm text-gray-400 md:block">
v{APP_VERSION}
<br />
{CONTAINER_ARCH}
</div>
{!IS_CLOUD && (
<div className="absolute bottom-1 left-2 mb-[0px] hidden text-sm text-gray-400 md:block">
v{APP_VERSION}
<br />
{CONTAINER_ARCH}
</div>
)}
</div>
)}