-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwrangler.toml
42 lines (34 loc) · 1.3 KB
/
wrangler.toml
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
38
39
40
41
42
name = "public-bucket"
main = "./dist/worker.mjs"
compatibility_flags = [ "nodejs_compat" ]
compatibility_date = "2024-09-23"
r2_buckets = [{ binding = "BUCKET", bucket_name = "carpark-dev-0" }]
[build]
command = "npm run build"
[vars]
DEBUG = "true"
FF_TELEMETRY_ENABLED = "false"
# PROD!
[env.carpark-production]
account_id = "fffa4b4363a7e5250af8357087263b3a"
r2_buckets = [{ binding = "BUCKET", bucket_name = "carpark-prod-0" }]
route = { pattern = "https://carpark-prod-0.r2.w3s.link/*", zone_id = "ae60d8f737317467ec666dc3851a6277" }
[env.carpark-production.vars]
DEBUG = "false"
FF_TELEMETRY_ENABLED = "true"
# STAGING!
[env.carpark-staging]
account_id = "fffa4b4363a7e5250af8357087263b3a"
r2_buckets = [{ binding = "BUCKET", bucket_name = "carpark-staging-0" }]
route = { pattern = "https://carpark-staging-0.r2.w3s.link/*", zone_id = "ae60d8f737317467ec666dc3851a6277" }
[env.carpark-staging.vars]
FF_TELEMETRY_ENABLED = "true"
DEBUG = "true"
# HANNAH DEV TESTING!
[env.hannahhoward]
account_id = "fffa4b4363a7e5250af8357087263b3a"
r2_buckets = [{ binding = "BUCKET", bucket_name = "carpark-prod-0", preview_bucket_name = "carpark-prod-0" }]
route = { pattern = "https://carpark-hannah-0.r2.w3s.link/*", zone_id = "ae60d8f737317467ec666dc3851a6277" }
[env.hannahhoward.vars]
FF_TELEMETRY_ENABLED = "true"
DEBUG = "true"