mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-03 01:20:58 +01:00
Update wrangler.example.toml
This commit is contained in:
parent
3feeca1459
commit
40aa057909
1 changed files with 8 additions and 7 deletions
|
@ -3,15 +3,16 @@ account_id = "[CLOUDFLARE_ACCOUNT_ID]"
|
||||||
main = "./dist/worker.js"
|
main = "./dist/worker.js"
|
||||||
compatibility_date = "2023-08-15"
|
compatibility_date = "2023-08-15"
|
||||||
send_metrics = false
|
send_metrics = false
|
||||||
services = [
|
|
||||||
{ binding = "TwitterProxy", service = "elongator" }
|
# Remove this if not using Cloudflare Analytics Engine
|
||||||
]
|
|
||||||
analytics_engine_datasets = [
|
analytics_engine_datasets = [
|
||||||
{ binding = "AnalyticsEngine" }
|
{ binding = "AnalyticsEngine" }
|
||||||
]
|
]
|
||||||
|
|
||||||
[build]
|
# Remove this if not using elongator account proxying
|
||||||
command = "npm run build"
|
services = [
|
||||||
|
{ binding = "TwitterProxy", service = "elongator" }
|
||||||
|
]
|
||||||
|
|
||||||
[miniflare.globals]
|
[build]
|
||||||
TEST = "true" # Will have unicode character errors in headers if not set to true and running unit tests
|
command = "npm run build"
|
Loading…
Add table
Reference in a new issue