-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathwrangler.toml
More file actions
32 lines (27 loc) · 752 Bytes
/
wrangler.toml
File metadata and controls
32 lines (27 loc) · 752 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
main = "dist/index.js"
compatibility_date = "2024-08-26"
compatibility_flags = [ "nodejs_compat" ]
[env.dev]
vars = { ALLOWED_HOST = "*", ENV = "dev" }
[[env.dev.kv_namespaces]]
binding = "LOCAL_DB"
id = "local-db"
[env.test]
vars = { ALLOWED_HOST = "*", ENV = "test" }
[[env.test.kv_namespaces]]
binding = "TEST_DB"
id = "test-db"
[env.stage]
name = "todo-rename-stage"
workers_dev = true
vars = { ALLOWED_HOST = "todo:rename to stage host", ENV = "stage" }
[[env.stage.kv_namespaces]]
binding = "DB"
id = "e0c5eee53ed34ff69c4d8303f818adca"
[env.prod]
name = "todo-rename-prod"
workers_dev = true
vars = { ALLOWED_HOST = "todo:rename to prod host", ENV = "prod" }
[[env.prod.kv_namespaces]]
binding = "DB"
id = "2431c6957e9e4a7cb4fa61f284793b98"