KnearMe Edge Worker Environment Variables
Runtime vars in wrangler.toml
Section titled “Runtime vars in wrangler.toml”Key vars include:
ORIGIN_BASE_URLEDGE_ROUTE_TRACK_MODEEDGE_ROUTE_FORMS_MODEEDGE_ROUTE_NEWSLETTER_MODEEDGE_ROUTE_EMAIL_MODEEDGE_ROUTE_EXPORT_PDF_MODEEDGE_ENABLE_REDIRECTSEDGE_ENABLE_AI_SHIELDEDGE_ENABLE_MEDIA_SHIELDTURNSTILE_ENFORCE_PUBLIC_WRITESTRACK_ALLOWED_ORIGINSEDGE_REDIRECT_SYNC_PATH
Required secrets/bindings
Section titled “Required secrets/bindings”Secrets or provider keys:
EDGE_SHARED_HMAC_SECRETTURNSTILE_SECRET_KEY(if enforced)SUPABASE_URLSUPABASE_SERVICE_ROLE_KEYLOOPS_API_KEY(for email subscribe handling)
Bindings:
REDIRECTS_KVIDEMPOTENCY_KVRATE_LIMITERAPI_QUEUE
Ops control-plane credentials
Section titled “Ops control-plane credentials”Ops scripts require:
CLOUDFLARE_API_TOKEN=CLOUDFLARE_ACCOUNT_ID=CLOUDFLARE_ZONE_ID=