-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwrangler.toml
34 lines (29 loc) · 1.09 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
name = "deadrop"
main = "src/index.ts"
compatibility_date = "2023-11-21"
routes = [
{ pattern = "deadrop.nieky.dev", custom_domain = true }
]
[vars]
DAILY_DROP_LIMIT = 5
TURSO_ORGANIZATION = "dallen4"
# ref: https://developers.cloudflare.com/workers/runtime-apis/kv
[[kv_namespaces]]
binding = "DROP_STORE"
id = "0ab3b4313ce542d8af187a5f881dcbb1"
preview_id = "a3d27b9d9c6841a9969cd9e07a73c9ff"
# Bind a Durable Object. Durable objects are a scale-to-zero compute primitive based on the actor model.
# Durable Objects can live for as long as needed. Use these when you need a long-running "server", such as in realtime apps.
# Docs: https://developers.cloudflare.com/workers/runtime-apis/durable-objects
[[durable_objects.bindings]]
name = "PEER_SERVER"
class_name = "PeerServerDO"
# Durable Object migrations.
# Docs: https://developers.cloudflare.com/workers/learning/using-durable-objects#configure-durable-object-classes-with-migrations
[[migrations]]
tag = "v1" # Should be unique for each entry
new_classes = ["PeerServerDO"]
[observability]
enabled = true
logs.enabled = true
logs.invocation_logs = true