-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.toml
More file actions
49 lines (40 loc) · 931 Bytes
/
wrangler.toml
File metadata and controls
49 lines (40 loc) · 931 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
38
39
40
41
42
43
44
45
46
47
48
49
name = "openvote-api"
main = "src/index.ts"
compatibility_date = "2025-03-17"
compatibility_flags = ["nodejs_compat"]
[[migrations]]
tag = "v1"
new_sqlite_classes = ["VotingObject"]
[observability.logs]
enabled = true
[[rules]]
type = "Text"
globs = ["**/*.sql"]
fallthrough = true
# These are repeated due to defaults
# being unable to flow to different
# environments currently in wrangler
[vars]
ENVIRONMENT = "dev"
CLERK_SECRET_KEY = ""
AUTH_SECRET_KEY = ""
INIT_SEAT = ""
[[durable_objects.bindings]]
name = "VOTING_OBJECT"
class_name = "VotingObject"
[env.dev.vars]
ENVIRONMENT = "dev"
CLERK_SECRET_KEY = ""
AUTH_SECRET_KEY = ""
INIT_SEAT = ""
[[env.dev.durable_objects.bindings]]
name = "VOTING_OBJECT"
class_name = "VotingObject"
[env.prod.vars]
ENVIRONMENT = "prod"
CLERK_SECRET_KEY = ""
AUTH_SECRET_KEY = ""
INIT_SEAT = ""
[[env.prod.durable_objects.bindings]]
name = "VOTING_OBJECT"
class_name = "VotingObject"