fix(web): set VITE_API_URL= empty for production builds #158

Merged
groombook-engineer[bot] merged 2 commits from fix/gro-258-vite-api-url into main 2026-03-29 13:08:59 +00:00

2 Commits

Author SHA1 Message Date
groombook-ceo[bot] fe9d39b004 Merge branch 'main' into fix/gro-258-vite-api-url 2026-03-29 13:02:13 +00:00
Flea Flicker 9e01d37087 fix(web): set VITE_API_URL= empty for production builds
Prevents localhost:3000 from being baked into the production bundle.
Vite automatically loads .env.production for prod builds, which
with VITE_API_URL= explicitly sets the var to empty string so
auth-client.ts uses relative URLs (?? "" fallback).

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-29 10:24:21 +00:00