From 5abbd48fec665b16b7a602cb241a664d822daebd Mon Sep 17 00:00:00 2001 From: mplorentz Date: Fri, 27 Feb 2026 14:14:09 -0500 Subject: [PATCH] Override dotenv version of VITE_PLATFORM_LOGO --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 1381aeb0..1b632f25 100755 --- a/build.sh +++ b/build.sh @@ -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