-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
81 lines (72 loc) · 2.82 KB
/
Copy pathwrangler.jsonc
File metadata and controls
81 lines (72 loc) · 2.82 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
{
"name": "crosspoint-tools",
"main": "worker/index.ts",
"compatibility_date": "2025-04-01",
"compatibility_flags": ["nodejs_compat"],
"workers_dev": true,
"routes": [
{ "pattern": "crosspointreader.com", "custom_domain": true }
],
// Reconcile GitHub stable releases and repair any missed status updates.
// Upload-backed channels also update Instatus immediately from their API.
"triggers": {
"crons": ["*/5 * * * *"]
},
// Static frontend assets (client build output; managed by @cloudflare/vite-plugin)
"assets": {
"binding": "ASSETS",
"not_found_handling": "single-page-application",
"run_worker_first": true
},
// Migration to remove the old Sandbox Durable Object
"migrations": [
{ "tag": "v1", "new_sqlite_classes": ["Sandbox"] },
{ "tag": "v2", "deleted_classes": ["Sandbox"] }
],
// R2 bucket for firmware storage
"r2_buckets": [
{
"binding": "FIRMWARE_BUCKET",
"bucket_name": "crosspoint-firmware"
}
],
// KV for build metadata (fast reads)
"kv_namespaces": [
{
"binding": "BUILD_META",
"id": "fdeb005477d243cd9de17bb057d9e037"
}
],
// Secrets (set via `wrangler secret put`):
// GITHUB_WEBHOOK_SECRET - for verifying webhook payloads
// CONTACT_CHAT_WEBHOOK - Google Chat incoming-webhook URL for contact form messages
// GITHUB_TOKEN - optional, for private repo access
// INSTATUS_API_KEY - release status page API token
// Workers AI binding
"ai": {
"binding": "AI"
},
// Email Sending (contact form). Domain onboarded via
// `wrangler email sending enable crosspointreader.com`.
"send_email": [{ "name": "EMAIL" }],
"vars": {
"REPO_URL": "https://github.com/crosspoint-reader/crosspoint-reader.git",
"INSTATUS_PAGE_ID": "cmshyken103uc0yn3r9stgjbh",
"INSTATUS_X3_GROUP_ID": "cmsi0ypoc04830rpb7tby0uz7",
"INSTATUS_X4_GROUP_ID": "cmsi0rjlo044h0rn3nouqubtu",
"INSTATUS_X4_PRO_GROUP_ID": "cmsi0yxrf04850rpbhwr9fe6r",
"INSTATUS_STICKY_GROUP_ID": "cmsi12gb204av0ypb5vlu04t2",
"INSTATUS_M5PAPER_GROUP_ID": "cmsi0znil048d0rpbcrac71tr",
"INSTATUS_LILYGO_GROUP_ID": "cmsi0zali048t0rn36cgypbpe",
"INSTATUS_X3_STABLE_COMPONENT_ID": "cmsiovasd09gx0rn3rcs7g4id",
"INSTATUS_X4_STABLE_COMPONENT_ID": "cmshzjopd03qn0kpb51mji3ro",
"INSTATUS_X3_NIGHTLY_COMPONENT_ID": "cmsi121j304ad0zpq61z0xa26",
"INSTATUS_X4_NIGHTLY_COMPONENT_ID": "cmshzjp1003qo0kpbymto1vgb",
"INSTATUS_X3_BETA_COMPONENT_ID": "cmsi121t5048z0rpbgohluyc4",
"INSTATUS_X4_BETA_COMPONENT_ID": "cmshzjpas03qq0kpbi42wljnw",
"INSTATUS_X4_PRO_BETA_COMPONENT_ID": "cmshzjqi6046n0yn3vcs6la7v",
"INSTATUS_STICKY_BETA_COMPONENT_ID": "cmshzjqrp03qr0kpbtorjjc8h",
"INSTATUS_M5PAPER_BETA_COMPONENT_ID": "cmshzjr2e03rp1bpb4q1d4j6b",
"INSTATUS_LILYGO_BETA_COMPONENT_ID": "cmshzjr99046o0yn3sf8w7n1g"
}
}