fix: set VITE_API_URL env var in Build job

Ensures Vite sees VITE_API_URL as an empty string (not undefined) during
pnpm build, so the || window.location.origin fallback fires at runtime
instead of baking in the UAT URL.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
2026-05-14 19:51:47 +00:00
committed by Flea Flicker [agent]
parent c2dd1dbf84
commit 2398dabe3a
+2
View File
@@ -119,6 +119,8 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Build all packages
env:
VITE_API_URL: ""
run: pnpm build
docker: