Fix logo download during docker build

This commit is contained in:
mplorentz
2026-02-27 13:58:56 -05:00
parent e885fe073f
commit 442dc8a207
3 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -17,8 +17,8 @@ if [[ -z $VITE_BUILD_HASH ]]; then
export VITE_BUILD_HASH=$(git rev-parse --short HEAD)
fi
if [[ $VITE_PLATFORM_LOGO =~ ^https://* ]]; then
curl $VITE_PLATFORM_LOGO > static/logo.png
if [[ $VITE_PLATFORM_LOGO =~ ^https:// ]]; then
curl -fSL "$VITE_PLATFORM_LOGO" -o static/logo.png
export VITE_PLATFORM_LOGO=static/logo.png
fi