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
Showing only changes of commit be93e57853 - Show all commits
+1 -1
View File
@@ -1,4 +1,4 @@
const API_BASE = import.meta.env.VITE_API_URL || 'http://localhost:3001'; const API_BASE = import.meta.env.VITE_API_URL ?? 'http://localhost:3001';
let authToken: string | null = localStorage.getItem('ai-tycoon-auth-token'); let authToken: string | null = localStorage.getItem('ai-tycoon-auth-token');