-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
54 lines (54 loc) · 1.22 KB
/
Copy pathwrangler.jsonc
File metadata and controls
54 lines (54 loc) · 1.22 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",
"main": ".open-next/worker.js",
"name": "func-kode",
"compatibility_date": "2026-06-11",
"compatibility_flags": [
"nodejs_compat"
],
"assets": {
"directory": ".open-next/assets",
"binding": "ASSETS"
},
"services": [
{
"binding": "WORKER_SELF_REFERENCE",
"service": "func-kode"
}
],
"images": {
"binding": "IMAGES"
},
"observability": {
"enabled": true
},
// Branch deployment rules — enforced via Cloudflare Pages dashboard.
// Production: main only.
// Preview: dev, staging/demo only.
// All other branches (feat/*, fix/*, chore/*) must have auto-deploy DISABLED.
// See docs/cloudflare-branch-rules.md for full runbook.
"env": {
"production": {
"name": "func-kode",
"routes": [
{
"pattern": "patch-id.com/*",
"zone_name": "patch-id.com"
}
]
},
"preview": {
"name": "func-kode-preview",
"routes": [
{
"pattern": "dev.patch-id.com/*",
"zone_name": "patch-id.com"
},
{
"pattern": "staging.patch-id.com/*",
"zone_name": "patch-id.com"
}
]
}
}
}