This repository has been archived on 2025-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
coryd.dev-eleventy/workers/analytics/wrangler.template.toml

13 lines
No EOL
335 B
TOML

name = "analytics-worker"
main = "./index.js"
compatibility_date = "2023-01-01"
account_id = "${CF_ACCOUNT_ID}"
workers_dev = true
[env.production]
name = "analytics-worker-production"
routes = [
{ pattern = "coryd.dev/js/script.js", zone_id = "${CF_ZONE_ID}" },
{ pattern = "coryd.dev/js/api/send", zone_id = "${CF_ZONE_ID}" }
]