Override dotenv version of VITE_PLATFORM_LOGO

This commit is contained in:
mplorentz
2026-02-27 14:14:09 -05:00
parent 442dc8a207
commit 5abbd48fec
+2 -1
View File
@@ -22,7 +22,8 @@ if [[ $VITE_PLATFORM_LOGO =~ ^https:// ]]; then
export VITE_PLATFORM_LOGO=static/logo.png
fi
npx pwa-assets-generator
# Ensure generator uses local path (dotenv may have loaded URL from .env)
VITE_PLATFORM_LOGO="${VITE_PLATFORM_LOGO}" npx pwa-assets-generator
npx vite build
# Replace index.html variables with stuff from our env