-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwrangler.toml
23 lines (19 loc) · 1 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
name = "staging_api_littleeleven_com"
main = "src/index.ts"
compatibility_date = "2024-10-22"
compatibility_flags = [ "nodejs_compat" ]
# env
vars = { ENVIRONMENT = "staging", BUCKET_NAME = "littleeleven-dev" }
route = { pattern = "staging.api.littleeleven.com", custom_domain = true }
d1_databases = [ { binding = "DB", database_name = "littleeleven-dev", database_id = "cdfc200d-9c48-4743-82c1-d0693d5bd98c", preview_database_id = "cdfc200d-9c48-4743-82c1-d0693d5bd98c" }, ]
r2_buckets = [ { binding = "BUCKET", bucket_name = "littleeleven-dev", preview_bucket_name = "littleeleven-dev" }, ]
[env.production]
name = "api_littleeleven_com"
vars = { ENVIRONMENT = "production", BUCKET_NAME = "littleeleven" }
route = { pattern = "api.littleeleven.com", custom_domain = true }
d1_databases = [ { binding = "DB", database_name = "littleeleven", database_id = "d1f330bd-9fb8-4552-897e-78d8426cbb70" }, ]
r2_buckets = [ { binding = "BUCKET", bucket_name = "littleeleven" } ]
[triggers]
crons = []
[observability]
enabled = true