Update wrangler.example.toml

This commit is contained in:
dangered wolf 2023-10-30 18:09:34 -04:00
parent 3feeca1459
commit 40aa057909
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -3,15 +3,16 @@ account_id = "[CLOUDFLARE_ACCOUNT_ID]"
main = "./dist/worker.js"
compatibility_date = "2023-08-15"
send_metrics = false
services = [
{ binding = "TwitterProxy", service = "elongator" }
]
# Remove this if not using Cloudflare Analytics Engine
analytics_engine_datasets = [
{ binding = "AnalyticsEngine" }
]
[build]
command = "npm run build"
# Remove this if not using elongator account proxying
services = [
{ binding = "TwitterProxy", service = "elongator" }
]
[miniflare.globals]
TEST = "true" # Will have unicode character errors in headers if not set to true and running unit tests
[build]
command = "npm run build"