Skip to content

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

FIX (dockerfile): Fix index.html

Rostislav Dugin67556a0db11d
diff --git a/Dockerfile b/Dockerfile
index 19c36282..27259756 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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
diff --git a/frontend/src/widgets/main/MainScreenComponent.tsx b/frontend/src/widgets/main/MainScreenComponent.tsx
index 4db6cd98..5e10c564 100644
--- a/frontend/src/widgets/main/MainScreenComponent.tsx
+++ b/frontend/src/widgets/main/MainScreenComponent.tsx
@@ -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>
)}