# ==============================================================================
# BroTools — Global Environment Configuration
# ==============================================================================
# Configure your live website domain and API endpoints here.
# Both frontend (Vite) and backend (FastAPI) automatically read this file.
# ==============================================================================

# ------------------------------------------------------------------------------
# 1. REAL WEBSITE DOMAIN ENDPOINT (Frontend URL)
# ------------------------------------------------------------------------------
# Set this to your production domain or staging domain (without trailing slash).
# Used for SEO canonical tags, Open Graph URLs, Twitter Cards, and Sitemaps.
# In local dev: http://localhost:5173
# In production: https://brotools.com  (or https://brotools.broknowledge.in, etc.)
VITE_SITE_URL=https://brotools.com
SITE_URL=https://brotools.com

# ------------------------------------------------------------------------------
# 2. BACKEND API ENDPOINT (FastAPI Server URL)
# ------------------------------------------------------------------------------
# Set this to the address where your Python FastAPI backend is accessible.
# In local dev: http://127.0.0.1:8000
# In production: https://api.brotools.com (or your cloud deployed API endpoint)
VITE_API_URL=http://127.0.0.1:8000
API_URL=http://127.0.0.1:8000

# ------------------------------------------------------------------------------
# 3. CORS ALLOWED ORIGINS (Comma-separated)
# ------------------------------------------------------------------------------
# Domains authorized to make requests to the FastAPI backend.
# Set to * to allow all origins, or specify exact domains for strict security.
CORS_ORIGINS=http://localhost:5173,http://127.0.0.1:5173,http://localhost:3000,http://127.0.0.1:3000,https://brotools.com

# ------------------------------------------------------------------------------
# 4. ENVIRONMENT & SERVER SETTINGS
# ------------------------------------------------------------------------------
ENVIRONMENT=development
NODE_ENV=development
