# Static HTML fallback for social-link previews (#521). # # Most link previews (WhatsApp, Facebook, Slack, etc.) hit the backend's # per-event OG endpoint and get the actual event name + branding. Some # third-party preview services and the WhatsApp Business API cache # metadata with a non-crawler User-Agent and end up reading these static # values instead. Set these to your brand so that fallback isn't generic # "PicPeak - Photo Sharing Platform". # # These are baked into index.html at build time, so they take effect on # the next `npm run build` / docker build. Live admin Branding settings # do NOT propagate here — for that, use the per-event OG endpoint, which # always serves the live branded preview. VITE_DEFAULT_TITLE=PicPeak VITE_DEFAULT_DESCRIPTION=Photo gallery shared with PicPeak. # Backend API URL # For local development with Docker: VITE_API_URL=http://localhost:3001/api # For local development without Docker: # VITE_API_URL=http://localhost:3001 # For production behind reverse proxy (Traefik, nginx, etc): # VITE_API_URL=/api # Umami Analytics Configuration (OPTIONAL - Fallback only) # NOTE: Primary Umami configuration should be done through Admin UI > Settings > Analytics # These environment variables serve as fallbacks when backend settings are not available # Useful for: development environments, initial setup, or when backend is unavailable # # Example values: # VITE_UMAMI_URL=https://analytics.example.com # VITE_UMAMI_WEBSITE_ID=abc123def-4567-89ab-cdef-0123456789ab # VITE_UMAMI_SHARE_URL=https://analytics.example.com/share/xyz789/wedding-photos