19 lines
676 B
Bash
19 lines
676 B
Bash
# --- Serverless function mode (@sparticuz/chromium) ---
|
|
# Optional: path to Chromium binary for local development.
|
|
# On Vercel, @sparticuz/chromium provides this automatically.
|
|
# CHROMIUM_PATH=/usr/bin/chromium-browser
|
|
|
|
# --- Vercel Sandbox mode ---
|
|
# Snapshot ID with agent-browser + Chromium pre-installed (optional, speeds up startup)
|
|
# Create one with: npx tsx scripts/create-snapshot.ts
|
|
# AGENT_BROWSER_SNAPSHOT_ID=snap_xxxxxxxxxxxx
|
|
|
|
# --- Rate Limiting (Upstash / Vercel KV) ---
|
|
# Automatically populated when you add Vercel KV to your project
|
|
KV_REST_API_URL=
|
|
KV_REST_API_TOKEN=
|
|
|
|
# Optional: override default limits
|
|
# RATE_LIMIT_PER_MINUTE=10
|
|
# RATE_LIMIT_PER_DAY=100
|