- Enable workers_dev deploy to edge-proxy-relay.workers.dev - Set account_id in wrangler.toml - Configure CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID as GitHub Actions secrets via gh CLI (from .env) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
15 lines
634 B
TOML
15 lines
634 B
TOML
name = "edge-proxy-relay"
|
|
main = "src/worker.ts"
|
|
compatibility_date = "2025-12-01"
|
|
compatibility_flags = ["nodejs_compat"]
|
|
|
|
# ── Cloudflare account ────────────────────────────────────────────
|
|
account_id = "2bfa421c4f4a11cc11d684a3d14327db"
|
|
workers_dev = true
|
|
|
|
# ── Environment Variables ───────────────────────────────────────────────────
|
|
# [vars]
|
|
# RELAY_TIMEOUT_MS = "30000"
|
|
# RATE_LIMIT_MAX = "200"
|
|
# RATE_LIMIT_WINDOW_MS = "60000"
|