# Frontend Configuration
# Flask Backend URL - If set, the app will automatically use Flask backend instead of IndexedDB
# Development: NEXT_PUBLIC_FLASK_BACKEND_URL=http://localhost:5000
# Production: NEXT_PUBLIC_FLASK_BACKEND_URL=https://backend.example.com
NEXT_PUBLIC_FLASK_BACKEND_URL=

# Base path for deployment (e.g., for GitHub Pages)
# Leave empty for root deployment
NEXT_PUBLIC_BASE_PATH=

# Backend Configuration (for backend/app.py)
# CORS Allowed Origins - Comma-separated list of allowed frontend URLs
# Development: CORS_ALLOWED_ORIGINS=*
# Production: CORS_ALLOWED_ORIGINS=https://frontend.example.com
# Multiple: CORS_ALLOWED_ORIGINS=https://frontend.example.com,https://app.example.com
CORS_ALLOWED_ORIGINS=*

# Database Path - Location of SQLite database file in backend
# Default: DATABASE_PATH=/app/data/snippets.db
DATABASE_PATH=/app/data/snippets.db
