Open History to see the last commit
1{
2 // Schema reference for wrangler configuration
3 "$schema": "node_modules/wrangler/config-schema.json",
4
5 // Name of your worker
6 "name": "__change_me__",
7
8 // Entry point for your worker
9 "main": "src/worker.tsx",
10
11 // Compatibility settings
12 "compatibility_date": "2025-08-21",
13 "compatibility_flags": ["nodejs_compat"],
14
15 // Assets configuration
16 "assets": {
17 "binding": "ASSETS",
18 },
19
20 // Observability settings
21 "observability": {
22 "enabled": true,
23 },
24
25 // Environment variables
26 "vars": {
27 // Add your environment variables here
28 },
29
30 "durable_objects": {
31 "bindings": [
32 {
33 "name": "REALTIME_DURABLE_OBJECT",
34 "class_name": "RealtimeDurableObject",
35 },
36 ],
37 },
38 "migrations": [
39 {
40 "tag": "v1",
41 "new_classes": ["RealtimeDurableObject"],
42 },
43 ],
44}