-
Notifications
You must be signed in to change notification settings - Fork 105
Expand file tree
/
Copy pathwrangler.toml
More file actions
37 lines (30 loc) · 805 Bytes
/
wrangler.toml
File metadata and controls
37 lines (30 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name = "placeholders-dev"
workers_dev = true
send_metrics = false
compatibility_date = "2023-12-09"
compatibility_flags = ["nodejs_compat"]
main = "./src/index.ts"
[assets]
directory = "./public"
binding = "ASSETS"
html_handling = "drop-trailing-slash"
not_found_handling = "404-page"
run_worker_first = true
[env.staging]
name = "placeholders-staging"
workers_dev = true
[env.production]
name = "placeholders"
workers_dev = false
routes = [
{pattern = "placeholders.dev/*", zone_id = "51bfc6eeecc90565bd116ee3ebb5e3a8"},
{pattern = "images.placeholders.dev/*", zone_id = "51bfc6eeecc90565bd116ee3ebb5e3a8"}
]
logpush = true
analytics_engine_datasets = [
{ binding = "PLACEHOLDERS_ANALYTICS" }
]
[env.production.observability]
enabled = true
[env.production.observability.traces]
enabled = true