import { ApiConfig } from './types'; // API configuration export const apiConfig: ApiConfig = { baseURL: import.meta.env.VITE_API_BASE_URL || 'VITE_API_BASE_URL', timeout: 10000, // 10 seconds headers: { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, OPTIONS', 'Access-Control-Allow-Headers': 'Content-Type, Authorization' }, };