-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
54 lines (54 loc) · 1.25 KB
/
wrangler.jsonc
File metadata and controls
54 lines (54 loc) · 1.25 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
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "glint",
"main": "worker/index.ts",
"compatibility_date": "2026-03-12",
"assets": {
"not_found_handling": "single-page-application"
},
"observability": {
"enabled": true
},
"compatibility_flags": ["nodejs_compat"],
"d1_databases": [
{
"binding": "DB",
"database_name": "glint-db",
"database_id": "7339fa35-53aa-44e2-a565-ab626822337e",
"migrations_dir": "migrations"
}
],
"kv_namespaces": [
{
"binding": "KV",
"id": "c28cc235abbc4affba7c89c653e8c975"
}
],
// Realtime WebSocket sync — requires Workers Paid plan.
// Remove the "durable_objects" and "migrations" blocks entirely if you are on the free plan.
// Todo operations will continue to work normally; only live push will be unavailable.
"durable_objects": {
"bindings": [
{
"name": "TODO_SYNC",
"class_name": "TodoSync"
}
]
},
"migrations": [
{
"tag": "v1",
"new_classes": ["TodoSync"]
}
],
"routes": [
{
"pattern": "glint.siiway.org",
"custom_domain": true
}
],
// Run every 15 minutes to check for auto-renew sets
"triggers": {
"crons": ["*/15 * * * *"]
}
}