-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwrangler.toml
42 lines (38 loc) · 1.18 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 = "certifine-api-auth"
main = "src/index.js"
compatibility_date = "2022-07-12"
vars = { ENVIRONMENT = "dev" }
routes = [
{ pattern = "dev.auth.certifine.spicyz.io", zone_name = "spicyz.io", custom_domain = true }
]
workers_dev = true
d1_databases = [
{ binding = "DB", database_name = "dev-certifine", database_id = "ba778eb8-bf82-4984-a21a-88dc8913f2fe" }
]
r2_buckets = [
{ binding = "BUCKET", bucket_name = "dev-certifine" }
]
[env.staging]
vars = { ENVIRONMENT = "staging" }
routes = [
{ pattern = "staging.auth.certifine.spicyz.io", zone_name = "spicyz.io", custom_domain = true }
]
workers_dev = true
d1_databases = [
{ binding = "DB", database_name = "staging-certifine", database_id = "c0534c42-4517-4068-af84-a458e02866b0" }
]
r2_buckets = [
{ binding = "BUCKET", bucket_name = "staging-certifine" }
]
[env.production]
vars = { ENVIRONMENT = "production" }
routes = [
{ pattern = "auth.certifine.spicyz.io", zone_name = "spicyz.io", custom_domain = true }
]
workers_dev = false
d1_databases = [
{ binding = "DB", database_name = "certifine", database_id = "fae83b0b-b945-4a5b-ad5f-23d3b13dd581" }
]
r2_buckets = [
{ binding = "BUCKET", bucket_name = "certifine" }
]