From 2398dabe3a21188569565835434f17f7f7c8c831 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Thu, 14 May 2026 19:51:47 +0000 Subject: [PATCH] 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 --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a8c173..1438d3b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -119,6 +119,8 @@ jobs: run: pnpm install --frozen-lockfile - name: Build all packages + env: + VITE_API_URL: "" run: pnpm build docker: