Fix empty VITE_API_URL falling back to localhost in production #9

Merged
josh merged 1 commits from feature/auth-invites into main 2026-04-27 20:51:20 -04:00
Owner

Use ?? instead of || so empty string (same-origin) is preserved
while undefined still falls back to localhost:3001 for dev.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Use ?? instead of || so empty string (same-origin) is preserved while undefined still falls back to localhost:3001 for dev. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
josh added 1 commit 2026-04-27 20:51:16 -04:00
Use ?? instead of || so empty string (same-origin) is preserved
while undefined still falls back to localhost:3001 for dev.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
josh merged commit 5e4007160c into main 2026-04-27 20:51:20 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: josh/AIHostingTycoon#9