-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathwrangler.toml
More file actions
27 lines (21 loc) · 565 Bytes
/
wrangler.toml
File metadata and controls
27 lines (21 loc) · 565 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
workers_dev = true
name = "my-worker"
compatibility_date = "2024-11-18"
main = "./build/server/index.js"
assets = { directory = "./build/client/" }
[build]
watch_dir = "./build/server"
[[durable_objects.bindings]]
name = "WEBSOCKET_MANAGER"
class_name = "WebSocketManager"
script_name = "my-worker"
[[migrations]]
tag = "v1"
new_classes = ["WebSocketManager"]
[env.development]
[[env.development.durable_objects.bindings]]
name = "WEBSOCKET_MANAGER"
class_name = "WebSocketManager"
[[env.development.migrations]]
tag = "v1"
new_classes = ["WebSocketManager"]