# StackScope Configuration for Next.js # Copy this file to .env.local in your project root # Required: Your StackScope worker URL NEXT_PUBLIC_STACKSCOPE_WORKER_URL=https://your-worker.workers.dev # Optional: API key for authentication # NEXT_PUBLIC_STACKSCOPE_API_KEY=your-optional-api-key # Optional: Enable debug mode (shows logs in console) NEXT_PUBLIC_STACKSCOPE_DEBUG=true # Optional: Set log level (debug, info, warn, error) # NEXT_PUBLIC_STACKSCOPE_LOG_LEVEL=info # Optional: Disable all capture (for testing) # NEXT_PUBLIC_STACKSCOPE_ENABLED=false # Next.js requires NEXT_PUBLIC_* prefix for client-side access # Server-side only variables (without NEXT_PUBLIC_) won't be exposed to the browser # Restart your development server after changing these values