-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
87 lines (87 loc) · 1.88 KB
/
wrangler.jsonc
File metadata and controls
87 lines (87 loc) · 1.88 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "l1chat",
"main": "./apps/server/worker.ts",
"compatibility_date": "2025-06-08",
"compatibility_flags": [
"nodejs_compat"
],
"vars": {
"GITHUB_CLIENT_ID": "my-variable",
"GITHUB_CLIENT_SECRET": "my-variable",
"FRONTEND_URL": "http://localhost:3001",
"BACKEND_URL": "http://localhost:3000",
},
"durable_objects": {
"bindings": [
{
"class_name": "ExcalidrawWebSocketServer",
"name": "DURABLE_OBJECT"
}
]
},
"kv_namespaces": [
{
"binding": "OPENAUTH_KV",
"id": "openauth"
}
],
"d1_databases": [
{
"binding": "DB",
"database_name": "new_store",
"database_id": "1",
"migrations_dir": "./apps/server/migrations"
}
],
"env": {
"production": {
"vars": {
"GITHUB_CLIENT_ID": "<prod-keys>",
"GITHUB_CLIENT_SECRET": "<prod-keys>",
"FRONTEND_URL": "https://l1chat.adictya.workers.dev",
},
"kv_namespaces": [
{
"binding": "OPENAUTH_KV",
"id": "26ffdf5603e44c7eb07470274f10cf4c"
}
],
"d1_databases": [
{
"binding": "DB",
"database_name": "new_store",
"database_id": "0e888bad-e865-4c08-b20a-f539eab30dcc",
"migrations_dir": "./apps/server/migrations"
}
],
"durable_objects": {
"bindings": [
{
"class_name": "ExcalidrawWebSocketServer",
"name": "DURABLE_OBJECT"
}
]
},
}
},
"migrations": [
{
"tag": "v1",
"new_sqlite_classes": [
"ExcalidrawWebSocketServer"
]
}
],
"observability": {
"enabled": true,
"head_sampling_rate": 1
},
"assets": {
"directory": "./apps/web/dist"
},
"build": {
"command": "bun run build",
"cwd": "./apps/web",
}
}