fix(plane): don't clobber global app var, breaking /usr/bin/update

This commit is contained in:
Sam Heinz
2026-07-06 20:14:50 +10:00
parent 417b0641a0
commit 2b1dd40fab
+2 -2
View File
@@ -85,8 +85,8 @@ VITE_SPACE_BASE_PATH=/spaces
VITE_LIVE_BASE_URL=http://${LOCAL_IP}
VITE_LIVE_BASE_PATH=/live"
# Each Vite app needs its own .env for the build
for app in web admin space; do
echo "$FRONTEND_ENV" >/opt/plane/apps/${app}/.env
for frontend_app in web admin space; do
echo "$FRONTEND_ENV" >/opt/plane/apps/${frontend_app}/.env
done
export NODE_OPTIONS="--max-old-space-size=4096"
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0