/** * ChefCode Frontend Configuration * ⚠️ SECURITY WARNING: This file contains sensitive API credentials * * For Production: * - DO NOT commit this file to git (add to .gitignore) * - Use environment variables or secure key management * - Implement proper authentication (login/session-based) * - Consider using a backend proxy to hide API keys */ const CHEFCODE_CONFIG = { // Backend API URL API_URL: 'http://localhost:8000', // ⚠️ SECURITY: API Key should NOT be in frontend code in production // This is only for local development/demo // In production, use session-based auth or backend proxy API_KEY: 'chefcode-secret-key-2024' }; // Make available globally for non-module scripts if (typeof window !== 'undefined') { window.CHEFCODE_CONFIG = CHEFCODE_CONFIG; }