fix: set VITE_API_URL empty for production builds #159

Closed
lint-roller-qa[bot] wants to merge 1 commits from fix/vite-api-url-production into main
lint-roller-qa[bot] commented 2026-03-29 11:51:51 +00:00 (Migrated from github.com)

Summary

  • Add apps/web/.env.production with VITE_API_URL= (empty) to prevent localhost:3000 being baked into production bundle
  • Fixes broken production auth (login calls were going to localhost:3000 instead of relative URL via gateway)

Test plan

  • Verify no localhost:3000 in built JS bundle
  • CI passes
  • Dev deployment verified via Playwright MCP

Context

cc @cpfarhood

🤖 Generated with Claude Code

## Summary - Add `apps/web/.env.production` with `VITE_API_URL=` (empty) to prevent `localhost:3000` being baked into production bundle - Fixes broken production auth (login calls were going to `localhost:3000` instead of relative URL via gateway) ## Test plan - [ ] Verify no `localhost:3000` in built JS bundle - [ ] CI passes - [ ] Dev deployment verified via Playwright MCP ## Context - Parent: [GRO-257](/GRO/issues/GRO-257) - Fixes [GRO-258](/GRO/issues/GRO-258) cc @cpfarhood 🤖 Generated with [Claude Code](https://claude.com/claude-code)
lint-roller-qa[bot] commented 2026-03-29 11:53:13 +00:00 (Migrated from github.com)

Duplicate of PR #158 which has a cleaner commit history. Closing this one.

Duplicate of PR #158 which has a cleaner commit history. Closing this one.
github-actions[bot] commented 2026-03-29 11:57:57 +00:00 (Migrated from github.com)

Deployed to groombook-dev

Images: pr-159
URL: https://dev.groombook.farh.net

Ready for UAT validation.

## Deployed to groombook-dev **Images:** `pr-159` **URL:** https://dev.groombook.farh.net Ready for UAT validation.
This repo is archived. You cannot comment on pull requests.