Backup: 2025-06-07 19:31 - Dockerhub prep

[Restore from backup: vip-coordinator-backup-2025-06-07-19-31-dockerhub-prep]
This commit is contained in:
2025-06-07 19:31:00 +02:00
parent ae3702c3b1
commit 8fb00ec041
6 changed files with 224 additions and 42 deletions

View File

@@ -1,6 +1,6 @@
// API Configuration
// Use environment variable with fallback to production URL
export const API_BASE_URL = import.meta.env.VITE_API_URL || 'https://api.bsa.madeamess.online';
// Use environment variable with fallback to localhost for development
export const API_BASE_URL = (import.meta as any).env.VITE_API_URL || 'http://localhost:3000';
// Helper function for API calls
export const apiCall = (endpoint: string, options?: RequestInit) => {